From c95042a0644657e626093d3d6558ef8851bb248d Mon Sep 17 00:00:00 2001 From: Felix Hanley Date: Fri, 23 Mar 2018 17:31:40 +1100 Subject: Remove torrent when skipped --- cmd/main.go | 1 + 1 file changed, 1 insertion(+) (limited to 'cmd/main.go') diff --git a/cmd/main.go b/cmd/main.go index b09975c..1243d9f 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -187,6 +187,7 @@ func startBTWorkers(s models.TorrentStore) { if skipTag == tg { log.Debug("skipping torrent", "infohash", t.Infohash, "tags", tags) ihBlacklist.Add(t.Infohash.String(), true) + s.RemoveTorrent(&t) return } } -- cgit v1.2.3