From 9ba1caaf94292e82409805d0c46bbba228ffbc67 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 c61996af8..8b56ec14d 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)