aboutsummaryrefslogtreecommitdiffstats
path: root/src/configreader.cpp
diff options
context:
space:
mode:
authorGravatar Daniel De Graaf2010-02-19 23:19:48 -0600
committerGravatar Daniel De Graaf2010-08-03 17:32:36 -0400
commit8c7827fc376de41131d6ceae8835be02910776f2 (patch)
treef8dd59d3d8ac514d86e19cb9bc5960284e7ae7f9 /src/configreader.cpp
parentChange chanprotect settings so it is possible to permit +q to grant +q withou... (diff)
Add <options:nameonlymodes>
Diffstat (limited to 'src/configreader.cpp')
-rw-r--r--src/configreader.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp
index 5cf6d7074..6c929b562 100644
--- a/src/configreader.cpp
+++ b/src/configreader.cpp
@@ -21,7 +21,7 @@
ServerConfig::ServerConfig()
{
WhoWasGroupSize = WhoWasMaxGroups = WhoWasMaxKeep = 0;
- NoUserDns = OperSpyWhois = HideBans = HideSplits = UndernetMsgPrefix = false;
+ NoUserDns = OperSpyWhois = HideBans = HideSplits = UndernetMsgPrefix = NameOnlyModes = false;
CycleHosts = InvBypassModes = true;
dns_timeout = 5;
MaxTargets = 20;
@@ -511,6 +511,7 @@ void ServerConfig::Fill()
Limits.MaxGecos = ConfValue("limits")->getInt("maxgecos", 128);
Limits.MaxAway = ConfValue("limits")->getInt("maxaway", 200);
InvBypassModes = options->getBool("invitebypassmodes", true);
+ NameOnlyModes = options->getBool("nameonlymodes", true);
range(SoftLimit, 10, ServerInstance->SE->GetMaxFds(), ServerInstance->SE->GetMaxFds(), "<performance:softlimit>");
range(MaxConn, 0, SOMAXCONN, SOMAXCONN, "<performance:somaxconn>");