]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/commands/cmd_user.h
Add comments
[user/henk/code/inspircd.git] / include / commands / cmd_user.h
index 919078193e648810bb1a3e72141a3135e2f130ba..b416225d5a624eccde9be7eb3b289edccdbd1d77 100644 (file)
@@ -2,14 +2,14 @@
  *       | Inspire Internet Relay Chat Daemon |
  *       +------------------------------------+
  *
- *  InspIRCd is copyright (C) 2002-2006 ChatSpike-Dev.
- *                       E-mail:
- *                <brain@chatspike.net>
- *                <Craig@chatspike.net>
+ *  InspIRCd is copyright (C) 2002-2007 ChatSpike-Dev.
+ *                    E-mail:
+ *             <brain@chatspike.net>
+ *             <Craig@chatspike.net>
  *
  * Written by Craig Edwards, Craig McLure, and others.
  * This program is free but copyrighted software; see
- *            the file COPYING for details.
+ *         the file COPYING for details.
  *
  * ---------------------------------------------------
  */
 #include "users.h"
 #include "channels.h"
 
+/** Handle /USER. These command handlers can be reloaded by the core,
+ * and handle basic RFC1459 commands. Commands within modules work
+ * the same way, however, they can be fully unloaded, where these
+ * may not.
+ */
 class cmd_user : public command_t
 {
  public:
-        cmd_user (InspIRCd* Instance) : command_t(Instance,"USER",0,4) { syntax = "<username> <localhost> <remotehost> <GECOS>"; }
-        void Handle(const char** parameters, int pcnt, userrec *user);
+       cmd_user (InspIRCd* Instance) : command_t(Instance,"USER",0,4,true) { syntax = "<username> <localhost> <remotehost> <GECOS>"; }
+       CmdResult Handle(const char** parameters, int pcnt, userrec *user);
 };
 
 #endif