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:
parent
68f4032588
commit
8ad6a53433
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user