summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-08-05 19:38:09 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-08-05 19:38:09 +0000
commitc3f2f4383b2e0f39feaf846ba141f32e104e1bf1 (patch)
tree5a357b2146ca293837ecac8ca0fa9518c9b43e08 /src
parentb683e9dccb18cd5dc22455d31cf99369049b0599 (diff)
Return the right thing.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10102 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_spanningtree/utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/utils.cpp b/src/modules/m_spanningtree/utils.cpp
index b458988c4..5e1d226ab 100644
--- a/src/modules/m_spanningtree/utils.cpp
+++ b/src/modules/m_spanningtree/utils.cpp
@@ -74,7 +74,7 @@ TreeServer* SpanningTreeUtilities::BestRouteTo(const std::string &ServerName)
{
Found = FindServer(u->server);
if (Found)
- return Found;
+ return Found->GetRoute();
}
return NULL;