]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/command_parse.h
Oops
[user/henk/code/inspircd.git] / include / command_parse.h
index b34c3cb7f83b1a496777de8dcd4f109150deb5d1..78864a4ec4f79f0d6b8881745a5e26e3f6ed0bfa 100644 (file)
@@ -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.
@@ -234,9 +231,9 @@ const int duration_multi[] =
        1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
        1, 1, 1, 1, 1, 1, 1, 1, 86400, 1, 1, 1, 3600,
        1, 1, 1, 1, 60, 1, 1, 1, 1, 1, 1, 1, 1, 1,
-       604800, 1, 31536000, 1, 1, 1, 1, 1, 1, 1, 1,
+       604800, 1, 31557600, 1, 1, 1, 1, 1, 1, 1, 1,
        1, 1, 86400, 1, 1, 1, 3600, 1, 1, 1, 1, 60,
-       1, 1, 1, 1, 1, 1, 1, 1, 1, 604800, 1, 31536000,
+       1, 1, 1, 1, 1, 1, 1, 1, 1, 604800, 1, 31557600,
        1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
        1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
        1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,