summaryrefslogtreecommitdiff
path: root/src/configreader.cpp
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-12-09 12:36:24 +0100
committerAttila Molnar <attilamolnar@hush.com>2014-12-09 12:36:24 +0100
commitb74da78a617c4eeef6c14364ca5a0fef5460d504 (patch)
tree4ea3b829e08d261dabe4252e91a24aba42a6f59c /src/configreader.cpp
parent1c64da19e1f08e23fd7020427e89d1d5af35aa1c (diff)
Pass the empty tag to Limits when constructing a ServerConfig, remove default ServerLimits constructor
Diffstat (limited to 'src/configreader.cpp')
-rw-r--r--src/configreader.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp
index 49ef236d4..d52f3de13 100644
--- a/src/configreader.cpp
+++ b/src/configreader.cpp
@@ -52,6 +52,7 @@ static ConfigTag* CreateEmptyTag()
ServerConfig::ServerConfig()
: EmptyTag(CreateEmptyTag())
+ , Limits(EmptyTag)
{
RawLog = HideBans = HideSplits = UndernetMsgPrefix = false;
WildcardIPv6 = InvBypassModes = true;