|
@@ -1052,7 +1052,7 @@ func dlineHandler(server *Server, client *Client, msg ircmsg.IrcMessage, rb *Res
|
1052
|
1052
|
}
|
1053
|
1053
|
|
1054
|
1054
|
for _, mcl := range clientsToKill {
|
1055
|
|
- mcl.exitedSnomaskSent = true
|
|
1055
|
+ mcl.SetExitedSnomaskSent()
|
1056
|
1056
|
mcl.Quit(fmt.Sprintf(mcl.t("You have been banned from this server (%s)"), reason), nil)
|
1057
|
1057
|
if mcl == client {
|
1058
|
1058
|
killClient = true
|
|
@@ -1362,7 +1362,7 @@ func killHandler(server *Server, client *Client, msg ircmsg.IrcMessage, rb *Resp
|
1362
|
1362
|
quitMsg := fmt.Sprintf("Killed (%s (%s))", client.nick, comment)
|
1363
|
1363
|
|
1364
|
1364
|
server.snomasks.Send(sno.LocalKills, fmt.Sprintf(ircfmt.Unescape("%s$r was killed by %s $c[grey][$r%s$c[grey]]"), target.nick, client.nick, comment))
|
1365
|
|
- target.exitedSnomaskSent = true
|
|
1365
|
+ target.SetExitedSnomaskSent()
|
1366
|
1366
|
|
1367
|
1367
|
target.Quit(quitMsg, nil)
|
1368
|
1368
|
target.destroy(nil)
|
|
@@ -1489,7 +1489,7 @@ func klineHandler(server *Server, client *Client, msg ircmsg.IrcMessage, rb *Res
|
1489
|
1489
|
}
|
1490
|
1490
|
|
1491
|
1491
|
for _, mcl := range clientsToKill {
|
1492
|
|
- mcl.exitedSnomaskSent = true
|
|
1492
|
+ mcl.SetExitedSnomaskSent()
|
1493
|
1493
|
mcl.Quit(fmt.Sprintf(mcl.t("You have been banned from this server (%s)"), reason), nil)
|
1494
|
1494
|
if mcl == client {
|
1495
|
1495
|
killClient = true
|