diff options
author | Wim <wim@42.be> | 2018-03-05 00:30:46 +0100 |
---|---|---|
committer | Wim <wim@42.be> | 2018-03-05 00:30:46 +0100 |
commit | 98027446c895de648c65af33f2010c73c752a8da (patch) | |
tree | 98f42e35f2700f1e65015ced1df949fd3125bd77 /bridge/bridge.go | |
parent | f2f1d874e1b4f997c111de87121eec98eef66381 (diff) | |
download | matterbridge-msglm-98027446c895de648c65af33f2010c73c752a8da.tar.gz matterbridge-msglm-98027446c895de648c65af33f2010c73c752a8da.tar.bz2 matterbridge-msglm-98027446c895de648c65af33f2010c73c752a8da.zip |
Fix tests and make megacheck happy
Diffstat (limited to 'bridge/bridge.go')
-rw-r--r-- | bridge/bridge.go | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/bridge/bridge.go b/bridge/bridge.go index 8135cabf..0436eeb6 100644 --- a/bridge/bridge.go +++ b/bridge/bridge.go @@ -68,12 +68,8 @@ func (b *Bridge) joinChannels(channels map[string]config.ChannelInfo, exists map return nil } -func (b *Bridge) ReloadConfig() { - return -} - func (b *Bridge) GetBool(key string) bool { - if b.Config.GetBool(b.Account+"."+key) != false { + if b.Config.GetBool(b.Account + "." + key) { return b.Config.GetBool(b.Account + "." + key) } return b.Config.GetBool("general." + key) |