summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2015-01-12 14:10:53 +0100
committerAttila Molnar <attilamolnar@hush.com>2015-01-12 14:10:53 +0100
commit225322b46f888fb034c87aea45fdde3f941c6450 (patch)
tree2363ae7b6c0281598e8dc8133908f1959e513f91
parent50dd3523a3529fe542ec065fa68fb415a6b0e77a (diff)
Fix harmless uninitialized variable usage on startup if the config is incorrect
-rw-r--r--src/configreader.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp
index b5d2fdb16..bd147782e 100644
--- a/src/configreader.cpp
+++ b/src/configreader.cpp
@@ -35,6 +35,7 @@
#endif
ServerConfig::ServerConfig()
+ : NoSnoticeStack(false)
{
WhoWasGroupSize = WhoWasMaxGroups = WhoWasMaxKeep = 0;
RawLog = NoUserDns = HideBans = HideSplits = UndernetMsgPrefix = false;