From ef278301e3d15ff2653e825a5d7f7b0e2778eeaf Mon Sep 17 00:00:00 2001 From: siinus Date: Sun, 21 May 2017 16:23:56 +0300 Subject: Fix JoinChannel argument to use IRC channel key (#172) --- bridge/bridge.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bridge') diff --git a/bridge/bridge.go b/bridge/bridge.go index 1d377951..fa00ea44 100644 --- a/bridge/bridge.go +++ b/bridge/bridge.go @@ -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 } -- cgit v1.2.3