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

Fix typo in ACCOUNT_NAME_MUST_BE_NICK code

This commit is contained in:
Val Lorentz 2023-09-24 14:16:49 +02:00 committed by GitHub
parent 3ec7f0e5cc
commit ddb804b622
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
}