summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
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;
}
}