Browse Source

update response when killing alwayson targets

tags/v2.12.0-rc1
Pratyush Desai 1 year ago
parent
commit
0653f90b4f
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      irc/handlers.go

+ 1
- 1
irc/handlers.go View File

1453
 		rb.Add(nil, client.server.name, ERR_NOSUCHNICK, client.Nick(), utils.SafeErrorParam(nickname), client.t("No such nick"))
1453
 		rb.Add(nil, client.server.name, ERR_NOSUCHNICK, client.Nick(), utils.SafeErrorParam(nickname), client.t("No such nick"))
1454
 		return false
1454
 		return false
1455
 	} else if target.AlwaysOn() {
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
 	quitMsg := fmt.Sprintf("Killed (%s (%s))", client.nick, comment)
1459
 	quitMsg := fmt.Sprintf("Killed (%s (%s))", client.nick, comment)

Loading…
Cancel
Save