]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Fix harmless uninitialized variable usage on startup if the config is incorrect
authorAttila Molnar <attilamolnar@hush.com>
Mon, 12 Jan 2015 13:10:53 +0000 (14:10 +0100)
committerAttila Molnar <attilamolnar@hush.com>
Mon, 12 Jan 2015 13:10:53 +0000 (14:10 +0100)
src/configreader.cpp

index b5d2fdb16f8d3e16aa3eec6e37d903593976a8ef..bd147782e22aabf494a37df14648652dc99c00a4 100644 (file)
@@ -35,6 +35,7 @@
 #endif
 
 ServerConfig::ServerConfig()
+       : NoSnoticeStack(false)
 {
        WhoWasGroupSize = WhoWasMaxGroups = WhoWasMaxKeep = 0;
        RawLog = NoUserDns = HideBans = HideSplits = UndernetMsgPrefix = false;