Handle casemapping on BouncerServ
This commit is contained in:
parent
bc74478f80
commit
e84fad3eda
@ -1670,7 +1670,7 @@ func (dc *downstreamConn) handleMessageRegistered(msg *irc.Message) error {
|
|||||||
tags := copyClientTags(msg.Tags)
|
tags := copyClientTags(msg.Tags)
|
||||||
|
|
||||||
for _, name := range strings.Split(targetsStr, ",") {
|
for _, name := range strings.Split(targetsStr, ",") {
|
||||||
if name == serviceNick {
|
if casemapASCII(name) == serviceNickCM {
|
||||||
if dc.caps["echo-message"] {
|
if dc.caps["echo-message"] {
|
||||||
echoTags := tags.Copy()
|
echoTags := tags.Copy()
|
||||||
echoTags["time"] = irc.TagValue(time.Now().UTC().Format(serverTimeLayout))
|
echoTags["time"] = irc.TagValue(time.Now().UTC().Format(serverTimeLayout))
|
||||||
|
Loading…
Reference in New Issue
Block a user