summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorNaram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864>2008-10-26 20:01:48 +0000
committerNaram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864>2008-10-26 20:01:48 +0000
commit474f30a8bf5d0ab2665f4c87442956f78586a384 (patch)
treec997695a083ea7780b2f58549f1fa94f8b832178 /data
parent4e99df540826b6270100eea12f01d0dd6af65fbd (diff)
Added maxsessionlimit directive to operserv block in new config.
Added ValidateLimitSessions function to validate certain session limiting directives only when session limiting is enabled. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1483 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'data')
-rw-r--r--data/example_new.conf6
1 files changed, 6 insertions, 0 deletions
diff --git a/data/example_new.conf b/data/example_new.conf
index 05ac2cc16..5dfb155eb 100644
--- a/data/example_new.conf
+++ b/data/example_new.conf
@@ -807,4 +807,10 @@ operserv
* If not given and session limiting is enabled, it will default to no limit.
*/
defaultsessionlimit = 3
+
+ /*
+ * The maximum session limit that may be set for a host in an exception. This directive is only
+ * required if session limiting is enabled.
+ */
+ maxsessionlimit = 100
}