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

pull/81/merge
siinus 7 years ago committed by Wim
parent 2888fd64b0
commit ef278301e3

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

Loading…
Cancel
Save