diff options
author | attilamolnar <attilamolnar@hush.com> | 2012-07-06 15:57:00 +0200 |
---|---|---|
committer | attilamolnar <attilamolnar@hush.com> | 2013-04-04 19:05:20 +0200 |
commit | f86f450701c622122d590effdabfaec833b1e5bd (patch) | |
tree | f9667c0f5c2090ddbab3e7596b0512adf7257561 /src/configreader.cpp | |
parent | 8c08130e19247f4a0798613ba6b931cd599115b6 (diff) |
Move whowas settings into cmd_whowas from ConfigReader
Diffstat (limited to 'src/configreader.cpp')
-rw-r--r-- | src/configreader.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp index e2ddd4d27..f7475d54a 100644 --- a/src/configreader.cpp +++ b/src/configreader.cpp @@ -35,7 +35,6 @@ ServerConfig::ServerConfig() { - WhoWasGroupSize = WhoWasMaxGroups = WhoWasMaxKeep = 0; RawLog = NoUserDns = HideBans = HideSplits = UndernetMsgPrefix = false; WildcardIPv6 = CycleHosts = InvBypassModes = true; dns_timeout = 5; @@ -532,9 +531,6 @@ void ServerConfig::Fill() MaxTargets = security->getInt("maxtargets", 20); DefaultModes = options->getString("defaultmodes", "nt"); PID = ConfValue("pid")->getString("file"); - WhoWasGroupSize = ConfValue("whowas")->getInt("groupsize"); - WhoWasMaxGroups = ConfValue("whowas")->getInt("maxgroups"); - WhoWasMaxKeep = InspIRCd::Duration(ConfValue("whowas")->getString("maxkeep")); MaxChans = ConfValue("channels")->getInt("users", 20); OperMaxChans = ConfValue("channels")->getInt("opers", 60); c_ipv4_range = ConfValue("cidr")->getInt("ipv4clone", 32); @@ -555,9 +551,6 @@ void ServerConfig::Fill() range(MaxConn, 0, SOMAXCONN, SOMAXCONN, "<performance:somaxconn>"); range(MaxTargets, 1, 31, 20, "<security:maxtargets>"); range(NetBufferSize, 1024, 65534, 10240, "<performance:netbuffersize>"); - range(WhoWasGroupSize, 0, 10000, 10, "<whowas:groupsize>"); - range(WhoWasMaxGroups, 0, 1000000, 10240, "<whowas:maxgroups>"); - range(WhoWasMaxKeep, 3600, INT_MAX, 3600, "<whowas:maxkeep>"); ValidIP(DNSServer, "<dns:server>"); |