From ea82c4f1054d2672fa9316b88a95fd05367b428d Mon Sep 17 00:00:00 2001 From: Bogdan Date: Mon, 1 May 2023 07:57:42 +0300 Subject: [PATCH] Fix checking for SameTorrent when the indexer is null (cherry picked from commit 3ece1533d86c559ec1bf7689c908802f31e38e91) --- src/NzbDrone.Core/Blocklisting/BlocklistService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NzbDrone.Core/Blocklisting/BlocklistService.cs b/src/NzbDrone.Core/Blocklisting/BlocklistService.cs index 9b092d109..074fea7a9 100644 --- a/src/NzbDrone.Core/Blocklisting/BlocklistService.cs +++ b/src/NzbDrone.Core/Blocklisting/BlocklistService.cs @@ -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)