mirror of
https://github.com/Readarr/Readarr
synced 2026-05-08 12:42:51 +02:00
Fix checking for SameTorrent when the indexer is null
(cherry picked from commit 3ece1533d86c559ec1bf7689c908802f31e38e91)
This commit is contained in:
parent
d90a6ebbb1
commit
9ba1caaf94
1 changed files with 1 additions and 1 deletions
|
|
@ -125,7 +125,7 @@ private bool SameTorrent(Blocklist item, TorrentInfo release)
|
||||||
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)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue