Don't omit empty user rules in configfile -- otherwise users might not be able to find that it's customizable in configfile.

This commit is contained in:
Eugene Bujak 2018-12-05 21:09:37 +03:00
parent e31905864b
commit 609523a59c
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ type configuration struct {
Language string `yaml:"language"` // two-letter ISO 639-1 language code
DNS dnsConfig `yaml:"dns"`
Filters []filter `yaml:"filters"`
UserRules []string `yaml:"user_rules,omitempty"`
UserRules []string `yaml:"user_rules"`
sync.RWMutex `yaml:"-"`