You've already forked Sonarr
mirror of
https://github.com/Sonarr/Sonarr.git
synced 2025-07-17 01:32:30 +02:00
Fix checking for SameTorrent when the indexer is null
This commit is contained in:
@ -125,7 +125,7 @@ namespace NzbDrone.Core.Blocklisting
|
|||||||
return release.InfoHash.Equals(item.TorrentInfoHash);
|
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)
|
private bool HasSameIndexer(Blocklist item, string indexer)
|
||||||
|
Reference in New Issue
Block a user