From 68eada4c4d5b48a71527c3aa496f95e6f4524320 Mon Sep 17 00:00:00 2001 From: Keivan Beigi Date: Wed, 10 Apr 2013 16:50:56 -0700 Subject: [PATCH] fixed indexer name compression to be case in-sensitive. --- NzbDrone.Core/Indexers/IndexerService.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/NzbDrone.Core/Indexers/IndexerService.cs b/NzbDrone.Core/Indexers/IndexerService.cs index 3f8215cc8..68034e26a 100644 --- a/NzbDrone.Core/Indexers/IndexerService.cs +++ b/NzbDrone.Core/Indexers/IndexerService.cs @@ -1,4 +1,5 @@ -using System.Collections.Generic; +using System; +using System.Collections.Generic; using System.Linq; using NLog; using NzbDrone.Common.Eventing; @@ -62,7 +63,7 @@ public void Handle(ApplicationStartedEvent message) foreach (var feedProvider in _indexers) { IIndexerBase indexerLocal = feedProvider; - if (!currentIndexers.Exists(c => c.Name == indexerLocal.Name)) + if (!currentIndexers.Exists(c => c.Name.Equals(indexerLocal.Name, StringComparison.InvariantCultureIgnoreCase))) { var settings = new IndexerDefinition {