Fix checking for SameTorrent when the indexer is null

(cherry picked from commit 3ece1533d86c559ec1bf7689c908802f31e38e91)
pull/3688/head
Bogdan 2 years ago
parent 64d32645e0
commit ea82c4f105

@ -100,7 +100,7 @@ namespace NzbDrone.Core.Blocklisting
return release.InfoHash.Equals(item.TorrentInfoHash);
}
return item.Indexer.Equals(release.Indexer, StringComparison.InvariantCultureIgnoreCase);
return HasSameIndexer(item, release.Indexer);
}
private bool HasSameIndexer(Blocklist item, string indexer)

Loading…
Cancel
Save