From dffd67eb311580aa2b14e7f5a069cfefdbf3aacc Mon Sep 17 00:00:00 2001 From: Wim Date: Thu, 21 Feb 2019 20:33:49 +0100 Subject: Fix typo --- gateway/gateway.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gateway') diff --git a/gateway/gateway.go b/gateway/gateway.go index 36ef3ebe..0c04a167 100644 --- a/gateway/gateway.go +++ b/gateway/gateway.go @@ -190,7 +190,7 @@ func (gw *Gateway) getDestChannel(msg *config.Message, dest bridge.Bridge) []con if msg.Event == config.EventJoinLeave && getProtocol(msg) == "irc" && msg.Channel == "" { // if we only have one channel on this irc bridge it's got to be the sending one. // don't send it back - if channel.Account == msg.Account && len(dest.Channels) == 1 && dest.Protocol == "irc" { + if dest.Account == msg.Account && len(dest.Channels) == 1 && dest.Protocol == "irc" { return channels } for _, channel := range gw.Channels { -- cgit v1.2.3