diff options
-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; |