diff options
author | Wim <wim@42.be> | 2018-02-22 22:51:32 +0100 |
---|---|---|
committer | Wim <wim@42.be> | 2018-02-22 22:51:32 +0100 |
commit | 7b21c1c2f422241cf2f3a8738e48e70bdcd6100e (patch) | |
tree | a430e9504aee3656da11008b224f860d343c38d8 /bridge | |
parent | f8714d81f504b5223c1bd762619c0e7b3bf32a52 (diff) | |
download | matterbridge-msglm-7b21c1c2f422241cf2f3a8738e48e70bdcd6100e.tar.gz matterbridge-msglm-7b21c1c2f422241cf2f3a8738e48e70bdcd6100e.tar.bz2 matterbridge-msglm-7b21c1c2f422241cf2f3a8738e48e70bdcd6100e.zip |
Set event channels to lowercase (irc). Closes #375
Diffstat (limited to 'bridge')
-rw-r--r-- | bridge/irc/irc.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bridge/irc/irc.go b/bridge/irc/irc.go index 14ac9525..870782ea 100644 --- a/bridge/irc/irc.go +++ b/bridge/irc/irc.go @@ -276,7 +276,7 @@ func (b *Birc) handleJoinPart(client *girc.Client, event girc.Event) { flog.Debugf("handleJoinPart: empty Params? %#v", event) return } - channel := event.Params[0] + channel := strings.ToLower(event.Params[0]) if event.Command == "KICK" { flog.Infof("Got kicked from %s by %s", channel, event.Source.Name) time.Sleep(time.Duration(b.Config.RejoinDelay) * time.Second) |