summaryrefslogtreecommitdiff
path: root/include/configreader.h
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-07-12 13:58:37 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-07-12 13:58:37 +0000
commit19916fcab237519d6b3d74f89ac7ee5e16bf7d10 (patch)
tree06bd2c83de01e17a9656520c149f761088f189c8 /include/configreader.h
parentce53937c4249d7e1c47327e19fd163fc29226f3f (diff)
Add <cidr> block, and documentation in example config.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9980 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/configreader.h')
-rw-r--r--include/configreader.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/include/configreader.h b/include/configreader.h
index 62d757621..877cb823d 100644
--- a/include/configreader.h
+++ b/include/configreader.h
@@ -292,7 +292,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 +327,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;