summaryrefslogtreecommitdiff
path: root/src/configreader.cpp
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2013-06-18 21:34:10 +0200
committerattilamolnar <attilamolnar@hush.com>2013-06-18 21:34:10 +0200
commitb81cfe31711acbb9ced2639e0a2f2c2df3c7a293 (patch)
treed4032782b79f16af50f5ee5828f1d2c0b59d418f /src/configreader.cpp
parent034cf50b14b9af583125854644d5b091980d014d (diff)
Remove limitsomaxconn and remains of m_halfop/allowhalfop
Diffstat (limited to 'src/configreader.cpp')
-rw-r--r--src/configreader.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp
index 905eb786a..427bc79bf 100644
--- a/src/configreader.cpp
+++ b/src/configreader.cpp
@@ -433,8 +433,6 @@ void ServerConfig::Fill()
NoSnoticeStack = options->getBool("nosnoticestack", false);
range(SoftLimit, 10, ServerInstance->SE->GetMaxFds(), ServerInstance->SE->GetMaxFds(), "<performance:softlimit>");
- if (ConfValue("performance")->getBool("limitsomaxconn", true))
- range(MaxConn, 0, SOMAXCONN, SOMAXCONN, "<performance:somaxconn>");
range(MaxTargets, 1, 31, 20, "<security:maxtargets>");
range(NetBufferSize, 1024, 65534, 10240, "<performance:netbuffersize>");
@@ -694,9 +692,6 @@ void ServerConfig::ApplyModules(User* user)
}
}
- if (ConfValue("options")->getBool("allowhalfop") && removed_modules.erase("m_halfop.so") == 0)
- added_modules.push_back("m_halfop.so");
-
for (std::set<std::string>::iterator removing = removed_modules.begin(); removing != removed_modules.end(); removing++)
{
// Don't remove cmd_*.so, just remove m_*.so