summaryrefslogtreecommitdiff
path: root/include/configreader.h
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2013-07-02 11:10:36 -0700
committerAttila Molnar <attilamolnar@hush.com>2013-07-02 11:10:36 -0700
commit4c12eafe612932f4b3f6806fc1bea79942998941 (patch)
treeed742758f5468a63f434ac5fe1994d35c455a561 /include/configreader.h
parentc286b42418c3d7614225b1226632a25ac513994b (diff)
parent3ae91bafe711b26ffae1aa27cfd4f5fe7bfc2347 (diff)
Merge pull request #571 from ShutterQuick/inspircd+checkclone
Allow for skipping clone checking before DNS is complete.
Diffstat (limited to 'include/configreader.h')
-rw-r--r--include/configreader.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/configreader.h b/include/configreader.h
index a17c5cf3e..51ced2ec7 100644
--- a/include/configreader.h
+++ b/include/configreader.h
@@ -373,6 +373,13 @@ class CoreExport ServerConfig
*/
int MaxConn;
+ /** If we should check for clones during CheckClass() in AddUser()
+ * Setting this to false allows to not trigger on maxclones for users
+ * that may belong to another class after DNS-lookup is complete.
+ * It does, however, make the server spend more time on users we may potentially not want.
+ */
+ bool CCOnConnect;
+
/** The soft limit value assigned to the irc server.
* The IRC server will not allow more than this
* number of local users.