mirror of
https://github.com/Sonarr/Sonarr.git
synced 2025-01-10 23:29:53 +02:00
Fix checking for SameTorrent when the indexer is null
This commit is contained in:
parent
f32a3cd41c
commit
3ece1533d8
@ -125,7 +125,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