From ddb804b6226ae3c3ddcf7303b09be11114f7910e Mon Sep 17 00:00:00 2001 From: Val Lorentz Date: Sun, 24 Sep 2023 14:16:49 +0200 Subject: [PATCH] Fix typo in ACCOUNT_NAME_MUST_BE_NICK code --- irc/handlers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/irc/handlers.go b/irc/handlers.go index 9778b32e..97ae0726 100644 --- a/irc/handlers.go +++ b/irc/handlers.go @@ -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 }