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
1 changed files with 1 additions and 1 deletions

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
}