summaryrefslogtreecommitdiff
path: root/data/example_new.conf
diff options
context:
space:
mode:
authorNaram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864>2008-10-26 19:57:52 +0000
committerNaram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864>2008-10-26 19:57:52 +0000
commit4e99df540826b6270100eea12f01d0dd6af65fbd (patch)
tree5cde86731c012a10ae4c71f4b2456adf7b029b08 /data/example_new.conf
parent314dbcd67e7c3f333abb7a4522e0adab6ed2b47f (diff)
Added defaultsessionlimit directive to operserv block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1482 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'data/example_new.conf')
-rw-r--r--data/example_new.conf7
1 files changed, 7 insertions, 0 deletions
diff --git a/data/example_new.conf b/data/example_new.conf
index d9a0cd52e..05ac2cc16 100644
--- a/data/example_new.conf
+++ b/data/example_new.conf
@@ -800,4 +800,11 @@ operserv
* This directive is optional.
*/
limitsessions = yes
+
+ /*
+ * Default session limit per host. Once a host reaches it's session limit, all clients attempting
+ * to connect from that host will be killed. A value of zero means an unlimited session limit.
+ * If not given and session limiting is enabled, it will default to no limit.
+ */
+ defaultsessionlimit = 3
}