Selaa lähdekoodia

update response when killing alwayson targets

tags/v2.12.0-rc1
Pratyush Desai 1 vuosi sitten
vanhempi
commit
0653f90b4f
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1
    1
      irc/handlers.go

+ 1
- 1
irc/handlers.go Näytä tiedosto

@@ -1453,7 +1453,7 @@ func killHandler(server *Server, client *Client, msg ircmsg.Message, rb *Respons
1453 1453
 		rb.Add(nil, client.server.name, ERR_NOSUCHNICK, client.Nick(), utils.SafeErrorParam(nickname), client.t("No such nick"))
1454 1454
 		return false
1455 1455
 	} else if target.AlwaysOn() {
1456
-		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()))
1456
+		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()))
1457 1457
 	}
1458 1458
 
1459 1459
 	quitMsg := fmt.Sprintf("Killed (%s (%s))", client.nick, comment)

Loading…
Peruuta
Tallenna