diff options
-rw-r--r-- | src/cmd_user.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cmd_user.cpp b/src/cmd_user.cpp index bdae86127..c0195f56e 100644 --- a/src/cmd_user.cpp +++ b/src/cmd_user.cpp @@ -29,6 +29,10 @@ CmdResult cmd_user::Handle (const char** parameters, int pcnt, userrec *user) { if (!ServerInstance->IsIdent(parameters[0])) { + /* + * RFC says we must use this numeric, so we do. Let's make it a little more nub friendly though. :) + * -- Craig, and then w00t. + */ user->WriteServ("461 %s USER :Your username is not valid",user->nick); return CMD_FAILURE; } |