]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/cmd_user.cpp
Remove /summon and /users (I think 15+ years of being marked deprecated is enough...
[user/henk/code/inspircd.git] / src / cmd_user.cpp
index dc224db76d88ba2e94fab58a540c804ddd7e78a0..42e70c1df4ca988e1a4113201acec65001ed0a63 100644 (file)
@@ -12,8 +12,6 @@
  */
 
 #include "inspircd.h"
-#include "configreader.h"
-#include "users.h"
 #include "commands/cmd_user.h"
 
 extern "C" DllExport command_t* init_command(InspIRCd* Instance)
@@ -37,8 +35,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 +50,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;