diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-08-05 19:38:09 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-08-05 19:38:09 +0000 |
commit | c3f2f4383b2e0f39feaf846ba141f32e104e1bf1 (patch) | |
tree | 5a357b2146ca293837ecac8ca0fa9518c9b43e08 /src/modules/m_spanningtree/utils.cpp | |
parent | b683e9dccb18cd5dc22455d31cf99369049b0599 (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/modules/m_spanningtree/utils.cpp')
-rw-r--r-- | src/modules/m_spanningtree/utils.cpp | 2 |
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; |