]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/commands/cmd_die.h
Add comments
[user/henk/code/inspircd.git] / include / commands / cmd_die.h
index 89bcf6a26c4d5280a8b76cae8c6ac71fa020bd3a..0db044944fc3ec8b73eb18939e38beb2993428e8 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 the common header files
 
-#include <typeinfo>
-#include <iostream>
-#include <string>
-#include <deque>
-#include <sstream>
-#include <vector>
 #include "users.h"
 #include "channels.h"
 
+/** Handle /DIE. 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_die : public command_t
 {
  public:
-        cmd_die () : command_t("DIE",'o',1) { }
-        void Handle(char **parameters, int pcnt, userrec *user);
+       cmd_die (InspIRCd* Instance) : command_t(Instance,"DIE",'o',1) { syntax = "<password>"; }
+       CmdResult Handle(const char** parameters, int pcnt, userrec *user);
 };
 
 #endif