summaryrefslogtreecommitdiffstats
path: root/bridge/irc/irc.go
diff options
context:
space:
mode:
authorWim <wim@42.be>2018-02-22 22:51:32 +0100
committerWim <wim@42.be>2018-02-22 22:51:32 +0100
commit7b21c1c2f422241cf2f3a8738e48e70bdcd6100e (patch)
treea430e9504aee3656da11008b224f860d343c38d8 /bridge/irc/irc.go
parentf8714d81f504b5223c1bd762619c0e7b3bf32a52 (diff)
downloadmatterbridge-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/irc/irc.go')
-rw-r--r--bridge/irc/irc.go2
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)