From fead8af2b767cb5591536a3c98babf6b35194a66 Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Tue, 21 Jan 2014 18:14:02 +0100 Subject: m_spanningtree Fix routing of ROUTE_TYPE_MESSAGE messages --- src/modules/m_spanningtree/postcommand.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3