From c65b5b4a1e2c88bde155fba9808315b3db291485 Mon Sep 17 00:00:00 2001 From: attilamolnar Date: Tue, 18 Jun 2013 21:26:54 +0200 Subject: Clean up the initialization of ConnectClass and ServerConfig. --- src/configreader.cpp | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'src/configreader.cpp') 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() -- cgit v1.2.3