Made Nzb Restrictions case-insensative

This commit is contained in:
Mark McDowall 2013-07-01 21:57:49 -07:00
commit 29ed3293d1
2 changed files with 3 additions and 1 deletions

View file

@ -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;