From 2e187f678993ed2e92c019ca659f45d426057540 Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 8 Dec 2005 20:24:25 +0000 Subject: Added fake direction stuff git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2279 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp index a98e90add..b11c89e18 100644 --- a/src/modules/m_spanningtree.cpp +++ b/src/modules/m_spanningtree.cpp @@ -1639,9 +1639,9 @@ class TreeSocket : public InspSocket direction = t->server; } TreeServer* route_back_again = BestRouteTo(direction); - if ((!route_back_again) || (back_again->GetSocket() != this)) + if ((!route_back_again) || (route_back_again->GetSocket() != this)) { - WriteOpers("*** \2WARNING\2! Fake direction in command '%s' from connection '%s'",line.c_str(),this->GetName()); + WriteOpers("*** \2WARNING\2! Fake direction in command '%s' from connection '%s'",line.c_str(),this->GetName().c_str()); return true; } } -- cgit v1.2.3