This is safe to merge, from Darom's uninitialised vars patch bug #701

git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@11097 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
brain 2009-02-13 09:06:18 +00:00
parent 645b8d0bc7
commit cfc1a83377

View File

@ -505,8 +505,8 @@ void SpanningTreeUtilities::ReadConfiguration(bool rebind)
MasterTime = Conf->ReadFlag("timesync", "master", 0);
ChallengeResponse = !Conf->ReadFlag("options", "disablehmac", 0);
quiet_bursts = Conf->ReadFlag("options", "quietbursts", 0);
PingWarnTime = Conf->ReadInteger("options", "pingwarning", 0, true);
PingFreq = Conf->ReadInteger("options", "serverpingfreq", 0, true);
PingWarnTime = Conf->ReadInteger("options", "pingwarning", "0", 0, true);
PingFreq = Conf->ReadInteger("options", "serverpingfreq", "0", 0, true);
if (PingFreq == 0)
PingFreq = 60;