From 3ece1533d86c559ec1bf7689c908802f31e38e91 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 --- 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 a9d00c5c7..b8119569f 100644 --- a/src/NzbDrone.Core/Blocklisting/BlocklistService.cs +++ b/src/NzbDrone.Core/Blocklisting/BlocklistService.cs @@ -125,7 +125,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)