Skip to content

Commit

Permalink
Merge pull request #2092 from progval/patch-5
Browse files Browse the repository at this point in the history
Fix typo in ACCOUNT_NAME_MUST_BE_NICK code
  • Loading branch information
slingamn authored Sep 24, 2023
2 parents 3ec7f0e + ddb804b commit b33e105
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion irc/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit b33e105

Please sign in to comment.