]> Sergey Matveev's repositories - btrtrc.git/blobdiff - t.go
Handle v2 Torrents added by short infohash only
[btrtrc.git] / t.go
diff --git a/t.go b/t.go
index dda65d363ec6020e57de8d7680b06a0b403de178..836ebc00749a296f69fb1128bddbe8303b7547ff 100644 (file)
--- a/t.go
+++ b/t.go
@@ -100,7 +100,7 @@ func (t *Torrent) Drop() {
        defer wg.Wait()
        t.cl.lock()
        defer t.cl.unlock()
-       err := t.cl.dropTorrent(*t.canonicalShortInfohash(), &wg)
+       err := t.cl.dropTorrent(t, &wg)
        if err != nil {
                panic(err)
        }