diff options
| author | 2007-07-24 12:30:04 +0000 | |
|---|---|---|
| committer | 2007-07-24 12:30:04 +0000 | |
| commit | baeb7052e853622477f9f147b389fcff6862fee5 (patch) | |
| tree | da5fa5515743f1b8cee5484d49e935e9bcb0f9a3 /src/cmd_user.cpp | |
| parent | Merge r7531 from trunk. (diff) | |
Merge 7533-7535 from trunk
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7536 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/cmd_user.cpp')
| -rw-r--r-- | src/cmd_user.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/cmd_user.cpp b/src/cmd_user.cpp index dc224db76..4e1584a81 100644 --- a/src/cmd_user.cpp +++ b/src/cmd_user.cpp @@ -37,8 +37,8 @@ CmdResult cmd_user::Handle (const char** parameters, int pcnt, userrec *user) } else { - /* We're not checking ident, but I'm not sure I like the idea of '~' prefixing.. */ - /* XXX - The ident field is IDENTMAX+2 in size to account for +1 for the optional + /* + * The ident field is IDENTMAX+2 in size to account for +1 for the optional * ~ character, and +1 for null termination, therefore we can safely use up to * IDENTMAX here. */ @@ -52,7 +52,8 @@ CmdResult cmd_user::Handle (const char** parameters, int pcnt, userrec *user) user->WriteServ("462 %s :You may not reregister",user->nick); return CMD_FAILURE; } - /* parameters 2 and 3 are local and remote hosts, ignored when sent by client connection */ + + /* parameters 2 and 3 are local and remote hosts, and are ignored */ if (user->registered == REG_NICKUSER) { int MOD_RESULT = 0; |
