mirror of
https://github.com/42wim/matterbridge.git
synced 2024-12-18 17:12:37 +01:00
Fix typo
This commit is contained in:
parent
55e79063d6
commit
dffd67eb31
@ -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 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.
|
// if we only have one channel on this irc bridge it's got to be the sending one.
|
||||||
// don't send it back
|
// 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
|
return channels
|
||||||
}
|
}
|
||||||
for _, channel := range gw.Channels {
|
for _, channel := range gw.Channels {
|
||||||
|
Loading…
Reference in New Issue
Block a user