summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-01-21 18:14:02 +0100
committerAttila Molnar <attilamolnar@hush.com>2014-01-21 18:14:02 +0100
commitfead8af2b767cb5591536a3c98babf6b35194a66 (patch)
tree4bc145eb6869e020a20cf463e8d0bc2d4dc9c396 /src/modules/m_spanningtree
parentec1e85cb3dbe7c733faa7dbd850459a41b7e5144 (diff)
m_spanningtree Fix routing of ROUTE_TYPE_MESSAGE messages
Diffstat (limited to 'src/modules/m_spanningtree')
-rw-r--r--src/modules/m_spanningtree/postcommand.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/postcommand.cpp b/src/modules/m_spanningtree/postcommand.cpp
index a059bcb5f..9f90f3458 100644
--- a/src/modules/m_spanningtree/postcommand.cpp
+++ b/src/modules/m_spanningtree/postcommand.cpp
@@ -100,7 +100,7 @@ void SpanningTreeUtilities::RouteCommand(TreeServer* origin, CommandBase* thiscm
{
// user target?
User* d = ServerInstance->FindNick(dest);
- if (!d)
+ if (!d || IS_LOCAL(d))
return;
TreeServer* tsd = TreeServer::Get(d)->GetRoute();
if (tsd == origin)