From e84fad3eda213bb3c5498ae6f33d2cf6c693386a Mon Sep 17 00:00:00 2001 From: Hubert Hirtz Date: Fri, 30 Apr 2021 09:32:48 +0200 Subject: [PATCH] Handle casemapping on BouncerServ --- downstream.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/downstream.go b/downstream.go index 4707591..d524e7b 100644 --- a/downstream.go +++ b/downstream.go @@ -1670,7 +1670,7 @@ func (dc *downstreamConn) handleMessageRegistered(msg *irc.Message) error { tags := copyClientTags(msg.Tags) for _, name := range strings.Split(targetsStr, ",") { - if name == serviceNick { + if casemapASCII(name) == serviceNickCM { if dc.caps["echo-message"] { echoTags := tags.Copy() echoTags["time"] = irc.TagValue(time.Now().UTC().Format(serverTimeLayout))