From c3f2f4383b2e0f39feaf846ba141f32e104e1bf1 Mon Sep 17 00:00:00 2001 From: w00t Date: Tue, 5 Aug 2008 19:38:09 +0000 Subject: Return the right thing. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10102 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree/utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.3