]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/command_parse.h
Fix compile error
[user/henk/code/inspircd.git] / include / command_parse.h
index b0babac712e63e45f762955ffc9d5cf7effd58a3..c2606a97d9e46d7081719be7b2688dc75cab8b4f 100644 (file)
@@ -2,7 +2,7 @@
  *       | Inspire Internet Relay Chat Daemon |
  *       +------------------------------------+
  *
- *  InspIRCd: (C) 2002-2008 InspIRCd Development Team
+ *  InspIRCd: (C) 2002-2009 InspIRCd Development Team
  * See: http://www.inspircd.org/wiki/index.php/Credits
  *
  * This program is free but copyrighted software; see
@@ -192,11 +192,8 @@ class CoreExport CommandParser : public classbase
        bool CreateCommand(Command *f, void* so_handle = NULL);
 
        /** Insert the default RFC1459 commands into the command hash.
-        * Ignore any already loaded commands.
-        * @param user User to spool errors to, or if NULL, when an error occurs spool the errors to
-        * stdout then exit with EXIT_STATUS_HANDLER.
         */
-       void SetupCommandTable(User* user);
+       void SetupCommandTable();
 
        /** Translate nicknames in a string into UIDs, based on the TranslationType given.
         * @param to The translation type to use for the process.
@@ -210,12 +207,12 @@ class CoreExport CommandParser : public classbase
 /** Command handler class for the RELOAD command.
  * A command cant really reload itself, so this has to be in here.
  */
-class cmd_reload : public Command
+class CommandReload : public Command
 {
  public:
        /** Standard constructor
         */
-       cmd_reload (InspIRCd* Instance) : Command(Instance,"RELOAD","o",1) { syntax = "<core-command>"; }
+       CommandReload (InspIRCd* Instance) : Command(Instance,"RELOAD","o",1) { syntax = "<core-command>"; }
        /** Handle RELOAD
         */
        CmdResult Handle(const std::vector<std::string>& parameters, User *user);