]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/command_parse.h
Add and document <shun:enabledcommands>, allowing customisation of specifically which...
[user/henk/code/inspircd.git] / include / command_parse.h
index be980a4cb4d1eaf11265755acac6fd02f2574e47..b0babac712e63e45f762955ffc9d5cf7effd58a3 100644 (file)
@@ -74,7 +74,7 @@ class CoreExport CommandParser : public classbase
  public:
        /** Command list, a hash_map of command names to Command*
         */
-       Commandable cmdlist;
+       Commandtable cmdlist;
 
        /** Reload a core command.
         * This will only reload commands implemented by the core,
@@ -234,9 +234,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,