|
@@ -45,7 +45,7 @@ func performNickChange(server *Server, client *Client, target *Client, session *
|
45
|
45
|
} else if err == errNickAccountMismatch {
|
46
|
46
|
// this used to use ERR_NICKNAMEINUSE, but it displayed poorly in some clients;
|
47
|
47
|
// ERR_UNKNOWNERROR at least has a better chance of displaying our error text
|
48
|
|
- rb.Add(nil, server.name, ERR_UNKNOWNERROR, currentNick, "NICK", client.t(err.Error()))
|
|
48
|
+ rb.Add(nil, server.name, ERR_UNKNOWNERROR, currentNick, "NICK", client.t("You must use your account name as your nickname"))
|
49
|
49
|
} else if err == errNickMissing {
|
50
|
50
|
rb.Add(nil, server.name, ERR_NONICKNAMEGIVEN, currentNick, client.t("No nickname given"))
|
51
|
51
|
} else if err != nil {
|