mirror of
https://github.com/Sonarr/Sonarr
synced 2024-12-25 09:18:34 +00:00
fixed indexer name compression to be case in-sensitive.
This commit is contained in:
parent
2eb3ead230
commit
68eada4c4d
1 changed files with 3 additions and 2 deletions
|
@ -1,4 +1,5 @@
|
||||||
using System.Collections.Generic;
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using NLog;
|
using NLog;
|
||||||
using NzbDrone.Common.Eventing;
|
using NzbDrone.Common.Eventing;
|
||||||
|
@ -62,7 +63,7 @@ namespace NzbDrone.Core.Indexers
|
||||||
foreach (var feedProvider in _indexers)
|
foreach (var feedProvider in _indexers)
|
||||||
{
|
{
|
||||||
IIndexerBase indexerLocal = feedProvider;
|
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
|
var settings = new IndexerDefinition
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue