mirror of
https://github.com/Radarr/Radarr.git
synced 2024-08-16 15:29:40 +02:00
Fix checking for SameTorrent when the indexer is null
(cherry picked from commit 3ece1533d86c559ec1bf7689c908802f31e38e91)
This commit is contained in:
parent
731db1ad79
commit
bb77538701
@ -131,7 +131,7 @@ private bool SameTorrent(Blocklist item, TorrentInfo release)
|
||||
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…
Reference in New Issue
Block a user