From 7faa1b08ac81043ab689b4a2d7eabafd204646c5 Mon Sep 17 00:00:00 2001 From: Jimmy Zelinskie Date: Mon, 21 Jul 2014 03:52:56 -0400 Subject: [PATCH] moved together bools --- config/config.go | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/config/config.go b/config/config.go index 4f7facd..60b7b9c 100644 --- a/config/config.go +++ b/config/config.go @@ -46,10 +46,9 @@ type Config struct { Tracker DriverConfig `json:"tracker"` Backend DriverConfig `json:"backend"` - Private bool `json:"private"` - Freeleech bool `json:"freeleech"` - Whitelist bool `json:"whitelist"` - + Private bool `json:"private"` + Freeleech bool `json:"freeleech"` + Whitelist bool `json:"whitelist"` PurgeInactiveTorrents bool `json:"purge_inactive_torrents"` Announce Duration `json:"announce"` @@ -74,10 +73,9 @@ var DefaultConfig = Config{ Name: "noop", }, - Private: false, - Freeleech: false, - Whitelist: false, - + Private: false, + Freeleech: false, + Whitelist: false, PurgeInactiveTorrents: true, Announce: Duration{30 * time.Minute},