diff --git a/client.go b/client.go
index <HASH>..<HASH> 100644
--- a/client.go
+++ b/client.go
@@ -162,6 +162,7 @@ func (me *client) AddTorrent(metaInfo *metainfo.MetaInfo) error {
 	if err != nil {
 		return err
 	}
+	torrent.MetaInfo = metaInfo
 	me.addTorrent <- torrent
 	return nil
 }
Fix crash due to torrent.MetaInfo being unset