]> 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 62d757621815690640e2cc56ba09d429275d9756..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"
@@ -292,7 +291,6 @@ class CoreExport ServerConfig : public Extensible
        bool CheckOnce(const char* tag, ConfigDataHash &newconf);
 
  public:
-
        /** Process an include executable directive
         */
        bool DoPipe(ConfigDataHash &target, const std::string &file, std::ostringstream &errorstream);
@@ -328,6 +326,16 @@ class CoreExport ServerConfig : public Extensible
 
        ServerLimits Limits;
 
+       /** Clones CIDR range for ipv4 (0-32)
+        * Defaults to 32 (checks clones on all IPs seperately)
+        */
+       int c_ipv4_range;
+
+       /** Clones CIDR range for ipv6 (0-128)
+        * Defaults to 128 (checks on all IPs seperately)
+        */
+       int c_ipv6_range;
+
        /** Max number of WhoWas entries per user.
         */
        int WhoWasGroupSize;
@@ -437,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
@@ -844,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