Ver código fonte

fix #908

tags/v2.1.0-rc1
Shivaram Lingamneni 4 anos atrás
pai
commit
8acd58e263
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1
    1
      irc/nickname.go

+ 1
- 1
irc/nickname.go Ver arquivo

@@ -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 {

Carregando…
Cancelar
Salvar