summaryrefslogtreecommitdiff
path: root/src/configreader.cpp
diff options
context:
space:
mode:
authorRobby- <robbyke@gmail.com>2012-04-15 10:45:34 +0200
committerRobby- <robbyke@gmail.com>2012-04-15 10:45:34 +0200
commitc376d800ebe6057f2afd7ffcd065b64e0cdb3292 (patch)
tree6b95d2b2e9d8d748895a840a69bb9652abd12ecf /src/configreader.cpp
parent207c6c290e5b752d562fdc0b121379d511a3dce8 (diff)
Backported Shawn's NoSnoticeStack code from insp21
Diffstat (limited to 'src/configreader.cpp')
-rw-r--r--src/configreader.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp
index a1a244501..eecf01d8d 100644
--- a/src/configreader.cpp
+++ b/src/configreader.cpp
@@ -505,6 +505,7 @@ void ServerConfig::Fill()
Limits.MaxGecos = ConfValue("limits")->getInt("maxgecos", 128);
Limits.MaxAway = ConfValue("limits")->getInt("maxaway", 200);
InvBypassModes = options->getBool("invitebypassmodes", true);
+ NoSnoticeStack = options->getBool("nosnoticestack", false);
range(SoftLimit, 10, ServerInstance->SE->GetMaxFds(), ServerInstance->SE->GetMaxFds(), "<performance:softlimit>");
range(MaxConn, 0, SOMAXCONN, SOMAXCONN, "<performance:somaxconn>");