2
0
mirror of https://github.com/42wim/matterbridge synced 2024-11-17 03:26:07 +00:00

Fix JoinChannel argument to use IRC channel key (#172)

This commit is contained in:
siinus 2017-05-21 16:23:56 +03:00 committed by Wim
parent 2888fd64b0
commit ef278301e3

View File

@ -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
}