mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 10:47:08 -07:00
Made Nzb Restrictions case-insensative
This commit is contained in:
parent
d2e771c9f0
commit
29ed3293d1
2 changed files with 3 additions and 1 deletions
|
@ -43,7 +43,7 @@ namespace NzbDrone.Core.DecisionEngine.Specifications
|
|||
|
||||
foreach (var restriction in restrictions)
|
||||
{
|
||||
if (subject.Report.Title.Contains(restriction))
|
||||
if (subject.Report.Title.ToLowerInvariant().Contains(restriction.ToLowerInvariant()))
|
||||
{
|
||||
_logger.Trace("{0} is restricted: {1}", subject, restriction);
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue