summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-11 18:20:51 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-11 18:20:51 +0000
commit0635391ceb38698a7052da0c3b599a86e255a87c (patch)
tree89ad7b8dff29e1e426f96bace6d130b59e095739 /src
parentdf54ef0105c6e59cc8bc3fe279ba8445691eb724 (diff)
Change the text of the 461 on invalid ident. Technically, this is correct, but nobody else respects this. Also, the numeric is the important bit, not the text. Now a little more nub friendly. :)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6980 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/cmd_user.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/cmd_user.cpp b/src/cmd_user.cpp
index 1a0e392c6..bdae86127 100644
--- a/src/cmd_user.cpp
+++ b/src/cmd_user.cpp
@@ -29,9 +29,7 @@ CmdResult cmd_user::Handle (const char** parameters, int pcnt, userrec *user)
{
if (!ServerInstance->IsIdent(parameters[0]))
{
- // This kinda Sucks, According to the RFC thou, its either this,
- // or "You have already registered" :p -- Craig
- user->WriteServ("461 %s USER :Not enough parameters",user->nick);
+ user->WriteServ("461 %s USER :Your username is not valid",user->nick);
return CMD_FAILURE;
}
else