Fixed: Rare case of RequiredIndexerFlags failing with old Newznab indexers.

This commit is contained in:
Leonardo Galli 2018-02-01 16:00:55 +01:00
parent ca3d5c184e
commit 73fed04228
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ namespace NzbDrone.Core.DecisionEngine.Specifications.Search
var requiredFlags = torrentIndexerSettings.RequiredFlags;
var requiredFlag = (IndexerFlags) 0;
if (requiredFlags.Count() == 0)
if (requiredFlags == null || requiredFlags.Count() == 0)
{
return Decision.Accept();
}