Navigation Menu

Skip to content

Commit

Permalink
This is safe to merge, from Darom's uninitialised vars patch bug #701
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@11097 e03df62e-2008-0410-955e-edbf42e46eb7
  • Loading branch information
braindigitalis committed Feb 13, 2009
1 parent 645b8d0 commit cfc1a83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/m_spanningtree/utils.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit cfc1a83

Please sign in to comment.