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

pull/2/head
Leonardo Galli 7 years ago
parent ca3d5c184e
commit 73fed04228

@ -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();
}

Loading…
Cancel
Save