diff options
author | siinus <siinus@users.noreply.github.com> | 2017-05-21 16:23:56 +0300 |
---|---|---|
committer | Wim <wim@42.be> | 2017-05-21 15:23:56 +0200 |
commit | ef278301e3d15ff2653e825a5d7f7b0e2778eeaf (patch) | |
tree | f44c4601d972d2d50db1183c99d40055f15e9a7a | |
parent | 2888fd64b0a25e40541d0ac8b4e176ba46905f9f (diff) | |
download | matterbridge-msglm-ef278301e3d15ff2653e825a5d7f7b0e2778eeaf.tar.gz matterbridge-msglm-ef278301e3d15ff2653e825a5d7f7b0e2778eeaf.tar.bz2 matterbridge-msglm-ef278301e3d15ff2653e825a5d7f7b0e2778eeaf.zip |
Fix JoinChannel argument to use IRC channel key (#172)
-rw-r--r-- | bridge/bridge.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bridge/bridge.go b/bridge/bridge.go index 1d377951..fa00ea44 100644 --- a/bridge/bridge.go +++ b/bridge/bridge.go @@ -100,7 +100,7 @@ func (b *Bridge) joinChannels(channels map[string]config.ChannelInfo, exists map log.Debugf("using key %s for channel %s", channel.Options.Key, channel.Name) mychannel = mychannel + " " + channel.Options.Key } - err := b.JoinChannel(channel.Name) + err := b.JoinChannel(mychannel) if err != nil { return err } |