summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-08 20:24:25 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-08 20:24:25 +0000
commit2e187f678993ed2e92c019ca659f45d426057540 (patch)
tree657ff4b1bd44e93da3b33a6302dc155e01a16e4e /src/modules
parent8e2f50ab779bcd903dbe46a5f11c4ee5ceb0730b (diff)
Added fake direction stuff
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2279 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_spanningtree.cpp4
1 files 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;
}
}