1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-27 02:07:41 +00:00

hide torrent indexers.

This commit is contained in:
kayone 2013-10-01 12:33:48 -07:00
parent 27bd59268d
commit c766089188

View file

@ -24,7 +24,8 @@ namespace NzbDrone.Core.Indexers
protected override void InitializeProviders()
{
var definitions = _providers.SelectMany(indexer => indexer.DefaultDefinitions);
var definitions = _providers.Where(c => c.Protocol == DownloadProtocol.Usenet)
.SelectMany(indexer => indexer.DefaultDefinitions);
var currentProviders = All();