]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/mode.h
ListModeBase: Minor changes to original u_listmode code
[user/henk/code/inspircd.git] / include / mode.h
index 1dab442d40ac6d993ae8c8787a89fc93c66e83a1..de8d4c5f86ad83e71e39b37beab2f4766dac58ee 100644 (file)
@@ -445,9 +445,6 @@ class CoreExport ModeParser
        unsigned int seq;
 
  public:
-
-       /** The constructor initializes all the RFC basic modes by using ModeParserAddMode().
-        */
        ModeParser();
        ~ModeParser();
 
@@ -455,6 +452,11 @@ class CoreExport ModeParser
         * for example, should 'user A' be able to 'op' on 'channel B'.
         */
        User* SanityChecks(User *user,const char *dest,Channel *chan,int status);
+
+       /** Initialize all built-in modes
+        */
+       static void InitBuiltinModes();
+
        /** Tidy a banmask. This makes a banmask 'acceptable' if fields are left out.
         * E.g.
         *