summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-11 18:22:44 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-11 18:22:44 +0000
commitb469531385d6d65b2f9dface80fe1ab4b9e19e15 (patch)
treea5d8f75d84a2fd8c0c9a73b60ae878a9417c8f98
parent0635391ceb38698a7052da0c3b599a86e255a87c (diff)
(Pretend the last commit never happened.)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6981 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/cmd_user.cpp4
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;
}