3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-11-14 16:09:32 +01:00

Merge pull request #1379 from slingamn/kline_duplicate

fix duplicated nicks in kline message
This commit is contained in:
Shivaram Lingamneni 2020-11-10 08:22:01 -08:00 committed by GitHub
commit 4861ac90b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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
} }
} }
} }