diff options
author | Wim <wim@42.be> | 2016-08-15 23:15:22 +0200 |
---|---|---|
committer | Wim <wim@42.be> | 2016-08-20 18:08:57 +0200 |
commit | 9cb3413d9c79730fc3b61bfdef6b2c9a2003a383 (patch) | |
tree | acf61c7e0ba2908e8956dfba4392d19a75727b93 /bridge/config | |
parent | 131826e1d138a98066813faa284da377bb99ecbe (diff) | |
download | matterbridge-msglm-9cb3413d9c79730fc3b61bfdef6b2c9a2003a383.tar.gz matterbridge-msglm-9cb3413d9c79730fc3b61bfdef6b2c9a2003a383.tar.bz2 matterbridge-msglm-9cb3413d9c79730fc3b61bfdef6b2c9a2003a383.zip |
Add Enable per section (protocol) instead of in general section
Diffstat (limited to 'bridge/config')
-rw-r--r-- | bridge/config/config.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bridge/config/config.go b/bridge/config/config.go index 131ff95e..03836b63 100644 --- a/bridge/config/config.go +++ b/bridge/config/config.go @@ -26,6 +26,7 @@ type Config struct { NickServPassword string RemoteNickFormat string IgnoreNicks string + Enable bool } Mattermost struct { URL string @@ -44,6 +45,7 @@ type Config struct { RemoteNickFormat string IgnoreNicks string NoTLS bool + Enable bool } Xmpp struct { Jid string @@ -52,6 +54,7 @@ type Config struct { Muc string Nick string RemoteNickFormat string + Enable bool } Channel map[string]*struct { IRC string |