Browse Source

Merge pull request #914 from slingamn/issue908_forreal

fix #908
tags/v2.1.0-rc1
Shivaram Lingamneni 4 years ago
parent
commit
057143f8b2
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      irc/nickname.go

+ 1
- 1
irc/nickname.go View File

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

Loading…
Cancel
Save