summaryrefslogtreecommitdiffstats
path: root/bridge/irc/irc.go
diff options
context:
space:
mode:
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)