From 0653f90b4f4e116b7352b0b146a03a52a9a31979 Mon Sep 17 00:00:00 2001 From: Pratyush Desai Date: Tue, 31 Jan 2023 13:27:02 +0530 Subject: [PATCH] update response when killing alwayson targets --- irc/handlers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/irc/handlers.go b/irc/handlers.go index 0436bd59..d739debd 100644 --- a/irc/handlers.go +++ b/irc/handlers.go @@ -1453,7 +1453,7 @@ func killHandler(server *Server, client *Client, msg ircmsg.Message, rb *Respons rb.Add(nil, client.server.name, ERR_NOSUCHNICK, client.Nick(), utils.SafeErrorParam(nickname), client.t("No such nick")) return false } else if target.AlwaysOn() { - rb.Add(nil, client.server.name, ERR_UNKNOWNERROR, client.Nick(), "KILL", fmt.Sprintf(client.t("Client %s is always-on and cannot be fully removed by /KILL; consider /NS SUSPEND instead"), target.Nick())) + rb.Add(nil, client.server.name, ERR_UNKNOWNERROR, client.Nick(), "KILL", fmt.Sprintf(client.t("Client %s is always-on and cannot be fully removed by /KILL; consider /UBAN ADD instead"), target.Nick())) } quitMsg := fmt.Sprintf("Killed (%s (%s))", client.nick, comment)