From b74da78a617c4eeef6c14364ca5a0fef5460d504 Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Tue, 9 Dec 2014 12:36:24 +0100 Subject: Pass the empty tag to Limits when constructing a ServerConfig, remove default ServerLimits constructor --- src/configreader.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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; -- cgit v1.2.3