diff options
author | Wim <wim@42.be> | 2017-07-14 00:35:01 +0200 |
---|---|---|
committer | Wim <wim@42.be> | 2017-07-14 00:35:01 +0200 |
commit | 6dee988b76852c6b15ef59061896ce48ce6ba978 (patch) | |
tree | b2a187be4850e212400bb9627e60327c63370b30 /bridge/bridge.go | |
parent | 5af40db3965649348143a530bea671574fb1ef54 (diff) | |
download | matterbridge-msglm-6dee988b76852c6b15ef59061896ce48ce6ba978.tar.gz matterbridge-msglm-6dee988b76852c6b15ef59061896ce48ce6ba978.tar.bz2 matterbridge-msglm-6dee988b76852c6b15ef59061896ce48ce6ba978.zip |
Fix megacheck / go vet issues
Diffstat (limited to 'bridge/bridge.go')
-rw-r--r-- | bridge/bridge.go | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/bridge/bridge.go b/bridge/bridge.go index 2cf56c0b..8e0fe063 100644 --- a/bridge/bridge.go +++ b/bridge/bridge.go @@ -88,10 +88,7 @@ func New(cfg *config.Config, bridge *config.Bridge, c chan config.Message) *Brid func (b *Bridge) JoinChannels() error { err := b.joinChannels(b.Channels, b.Joined) - if err != nil { - return err - } - return nil + return err } func (b *Bridge) joinChannels(channels map[string]config.ChannelInfo, exists map[string]bool) error { |