3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-11-25 05:19:25 +01:00

Merge pull request #2092 from progval/patch-5

Fix typo in ACCOUNT_NAME_MUST_BE_NICK code
This commit is contained in:
Shivaram Lingamneni 2023-09-24 07:34:28 -07:00 committed by GitHub
commit b33e1051f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2818,7 +2818,7 @@ func registerHandler(server *Server, client *Client, msg ircmsg.Message, rb *Res
case "*", accountName:
// ok
default:
rb.Add(nil, server.name, "FAIL", "REGISTER", "ACCOUNTNAME_MUST_BE_NICK", utils.SafeErrorParam(msg.Params[0]), client.t("You may only register your nickname as your account name"))
rb.Add(nil, server.name, "FAIL", "REGISTER", "ACCOUNT_NAME_MUST_BE_NICK", utils.SafeErrorParam(msg.Params[0]), client.t("You may only register your nickname as your account name"))
return
}