diff options
author | Duco van Amstel <duco.vanamstel@gmail.com> | 2018-11-13 22:30:56 +0000 |
---|---|---|
committer | Wim <wim@42.be> | 2018-11-13 23:30:56 +0100 |
commit | 16d5aeac7c2de010d30cddc90c5755ac5b989b2b (patch) | |
tree | 9d95ee605be7d287e49212053ac19f88842133a8 /matterbridge.go | |
parent | e19ba5a06ad94c389df1b253d30c9ba6e4d14273 (diff) | |
download | matterbridge-msglm-16d5aeac7c2de010d30cddc90c5755ac5b989b2b.tar.gz matterbridge-msglm-16d5aeac7c2de010d30cddc90c5755ac5b989b2b.tar.bz2 matterbridge-msglm-16d5aeac7c2de010d30cddc90c5755ac5b989b2b.zip |
Make config.Config more unit-test friendly (#586)
Diffstat (limited to 'matterbridge.go')
-rw-r--r-- | matterbridge.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/matterbridge.go b/matterbridge.go index 8e852b0f..90c0437b 100644 --- a/matterbridge.go +++ b/matterbridge.go @@ -44,7 +44,7 @@ func main() { flog.Println("WARNING: THIS IS A DEVELOPMENT VERSION. Things may break.") } cfg := config.NewConfig(*flagConfig) - cfg.General.Debug = *flagDebug + cfg.ConfigValues().General.Debug = *flagDebug r, err := gateway.NewRouter(cfg) if err != nil { flog.Fatalf("Starting gateway failed: %s", err) |