NzbClub and any indexers with settings are not enabled by default

This commit is contained in:
Mark McDowall 2013-07-04 14:20:08 -07:00
commit 943a05bc09
5 changed files with 19 additions and 5 deletions

View file

@ -7,6 +7,11 @@ namespace NzbDrone.Core.Indexers
{
public TSetting Settings { get; set; }
public override bool EnableByDefault
{
get { return false; }
}
public TSetting ImportSettingsFromJson(string json)
{
Settings = Json.Deserialize<TSetting>(json) ?? new TSetting();