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:
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)
|
log.Debugf("using key %s for channel %s", channel.Options.Key, channel.Name)
|
||||||
mychannel = mychannel + " " + channel.Options.Key
|
mychannel = mychannel + " " + channel.Options.Key
|
||||||
}
|
}
|
||||||
err := b.JoinChannel(channel.Name)
|
err := b.JoinChannel(mychannel)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user