3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-12-22 18:52:41 +01:00

fix duplicated nicks in kline message

This commit is contained in:
Shivaram Lingamneni 2020-11-10 11:17:17 -05:00
parent 68f4032588
commit 8ad6a53433

View File

@ -1443,6 +1443,7 @@ func klineHandler(server *Server, client *Client, msg ircmsg.IrcMessage, rb *Res
if matcher.MatchString(clientMask) { if matcher.MatchString(clientMask) {
clientsToKill = append(clientsToKill, mcl) clientsToKill = append(clientsToKill, mcl)
killedClientNicks = append(killedClientNicks, mcl.nick) killedClientNicks = append(killedClientNicks, mcl.nick)
break
} }
} }
} }