]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/configreader.h
Fix retarded windows linefeeds (brain >:()
[user/henk/code/inspircd.git] / include / configreader.h
index 877cb823df2d71fb376056bdd038cce877f490d5..9ec68b9e806f26d50483ddd299b9d9dffd6d3b37 100644 (file)
@@ -26,7 +26,6 @@
 #include <vector>
 #include <map>
 #include "inspircd.h"
-#include "globals.h"
 #include "modules.h"
 #include "socketengine.h"
 #include "socket.h"
@@ -446,6 +445,15 @@ class CoreExport ServerConfig : public Extensible
         */
        char DisabledCommands[MAXBUF];
 
+       /** This variable identifies which usermodes have been diabled.
+        */
+
+       char DisabledUModes[64];
+
+       /** This variable identifies which chanmodes have been disabled.
+        */
+       char DisabledCModes[64];
+
        /** The full path to the modules directory.
         * This is either set at compile time, or
         * overridden in the configuration file via
@@ -853,7 +861,11 @@ class CoreExport ServerConfig : public Extensible
         * @return True if the file exists and is readable.
         */
        static bool FileExists(const char* file);
-       
+
+       /** If this value is true, invites will bypass more than just +i
+        */
+       bool InvBypassModes;
+
 };
 
 /** Initialize the disabled commands list