summaryrefslogtreecommitdiff
path: root/src/configreader.cpp
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2013-06-18 21:26:54 +0200
committerPeter Powell <petpow@saberuk.com>2017-10-15 23:41:50 +0100
commitc65b5b4a1e2c88bde155fba9808315b3db291485 (patch)
treecc90fe807e973eb4409a86f6c27e7f8bf48fa307 /src/configreader.cpp
parent7306e354798c529a9fff0643c830897401e588d9 (diff)
Clean up the initialization of ConnectClass and ServerConfig.
Diffstat (limited to 'src/configreader.cpp')
-rw-r--r--src/configreader.cpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp
index d198a1d84..3059b1dbb 100644
--- a/src/configreader.cpp
+++ b/src/configreader.cpp
@@ -62,17 +62,9 @@ ServerConfig::ServerConfig()
: EmptyTag(CreateEmptyTag())
, Limits(EmptyTag)
, Paths(EmptyTag)
+ , RawLog(false)
, NoSnoticeStack(false)
{
- RawLog = HideBans = HideSplits = false;
- WildcardIPv6 = true;
- MaxTargets = 20;
- NetBufferSize = 10240;
- MaxConn = SOMAXCONN;
- MaxChans = 20;
- OperMaxChans = 30;
- c_ipv4_range = 32;
- c_ipv6_range = 128;
}
ServerConfig::~ServerConfig()