Fix JoinChannel argument to use IRC channel key

This commit is contained in:
Pearu Vaalma
2017-05-21 05:42:35 +03:00
parent 2888fd64b0
commit c96e65c458

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
}