summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-10-13 22:02:56 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-10-13 22:02:56 +0000
commitd8a4b50e313249ae4b01e91cb118bbb0c803be94 (patch)
tree99350df486cc1d07470b93d5c98fd27462bd23a8 /src/modules/m_spanningtree
parent5f45e12a4d05140e959d76dbbf83c6c247cd01d0 (diff)
Fix uninitialized var that may stop the ping warning from appearing, thanks djGrrr
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8162 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_spanningtree')
-rw-r--r--src/modules/m_spanningtree/treeserver.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_spanningtree/treeserver.cpp b/src/modules/m_spanningtree/treeserver.cpp
index 6e491573c..4bedf8388 100644
--- a/src/modules/m_spanningtree/treeserver.cpp
+++ b/src/modules/m_spanningtree/treeserver.cpp
@@ -32,7 +32,7 @@ TreeServer::TreeServer(SpanningTreeUtilities* Util, InspIRCd* Instance, const st
VersionString.clear();
UserCount = OperCount = 0;
rtt = LastPing = 0;
- Hidden = DupError = false;
+ Warned = Hidden = DupError = false;
VersionString = ServerInstance->GetVersionString();
SetID(id);
}
@@ -52,7 +52,7 @@ TreeServer::TreeServer(SpanningTreeUtilities* Util, InspIRCd* Instance, std::str
Route = NULL;
Socket = NULL; /* Fix by brain */
rtt = LastPing = 0;
- Hidden = DupError = false;
+ Warned = Hidden = DupError = false;
AddHashEntry();
SetID(id);
}