summaryrefslogtreecommitdiffstats
path: root/bridge
diff options
context:
space:
mode:
Diffstat (limited to 'bridge')
-rw-r--r--bridge/bridge.go2
1 files changed, 1 insertions, 1 deletions
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
}