diff options
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 { |