From 609523a59c5ca635665e7b4445acbcdfbfd8cf08 Mon Sep 17 00:00:00 2001 From: Eugene Bujak Date: Wed, 5 Dec 2018 21:09:37 +0300 Subject: [PATCH] Don't omit empty user rules in configfile -- otherwise users might not be able to find that it's customizable in configfile. --- config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.go b/config.go index 3bf6fbe4..89822d3f 100644 --- a/config.go +++ b/config.go @@ -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:"-"`