diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/config.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/config/config.go b/config/config.go index 7c80d20..a63b7e8 100644 --- a/config/config.go +++ b/config/config.go @@ -158,7 +158,8 @@ func LoadConfig(root *string) (*AercConfig, error) { } if filters, err := file.GetSection("filters"); err == nil { // TODO: Parse the filter more finely, e.g. parse the regex - for match, cmd := range filters.KeysHash() { + for _, match := range filters.KeyStrings() { + cmd := filters.KeysHash()[match] filter := FilterConfig{ Command: cmd, Filter: match, |