From 3ae91bafe711b26ffae1aa27cfd4f5fe7bfc2347 Mon Sep 17 00:00:00 2001 From: Daniel Vassdal Date: Mon, 1 Jul 2013 12:31:36 -0700 Subject: Allow for skipping clone checking before DNS is complete. --- include/configreader.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include/configreader.h') 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. -- cgit v1.2.3