Skip to content

Commit

Permalink
Fix uninitialized var that may stop the ping warning from appearing, …
Browse files Browse the repository at this point in the history
…thanks djGrrr

git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8161 e03df62e-2008-0410-955e-edbf42e46eb7
  • Loading branch information
braindigitalis committed Oct 13, 2007
1 parent 8801b81 commit 58fb938
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/m_spanningtree/treeserver.cpp
Expand Up @@ -36,7 +36,7 @@ TreeServer::TreeServer(SpanningTreeUtilities* Util, InspIRCd* Instance) : Server
VersionString.clear();
UserCount = OperCount = 0;
rtt = LastPing = 0;
Hidden = false;
Hidden = Warned = false;
VersionString = ServerInstance->GetVersionString();
}

Expand All @@ -54,7 +54,7 @@ TreeServer::TreeServer(SpanningTreeUtilities* Util, InspIRCd* Instance, std::str
Route = NULL;
Socket = NULL; /* Fix by brain */
rtt = LastPing = 0;
Hidden = false;
Hidden = Warned = false;
AddHashEntry();
}

Expand Down

0 comments on commit 58fb938

Please sign in to comment.