Dismiss TAGMSGs directed to BouncerServ

This commit is contained in:
Hubert Hirtz 2021-10-09 12:46:00 +02:00 committed by Simon Ser
parent 5a2d6246ec
commit 0fd81f38fa
1 changed files with 4 additions and 0 deletions

View File

@ -2048,6 +2048,10 @@ func (dc *downstreamConn) handleMessageRegistered(msg *irc.Message) error {
tags := copyClientTags(msg.Tags)
for _, name := range strings.Split(targetsStr, ",") {
if casemapASCII(name) == serviceNickCM {
continue
}
uc, upstreamName, err := dc.unmarshalEntity(name)
if err != nil {
return err