summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-11-27 20:44:00 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-11-27 20:44:00 +0000
commitee0105631d06a2779599fad7fe9e967757794fe0 (patch)
tree15aaa57588c7c6a49809622fcb9ac0ca1faadb1d
parenta595cf3435c7f458058d1f217458da7701c735ca (diff)
Fixed a missing parameter
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1971 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/modules/m_spanningtree.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp
index 478dc5d9a..d413449e0 100644
--- a/src/modules/m_spanningtree.cpp
+++ b/src/modules/m_spanningtree.cpp
@@ -179,7 +179,7 @@ TreeServer* RouteEnumerate(TreeServer* Current, std::string ServerName)
return Current;
for (unsigned int q = 0; q < Current->ChildCount(); q++)
{
- TreeServer* found = RouteEnumerate(Current->GetChild(),ServerName);
+ TreeServer* found = RouteEnumerate(Current->GetChild(q),ServerName);
if (found)
{
return found;