From 066cad22e48e111de9a993c9ebaddb275b773a75 Mon Sep 17 00:00:00 2001 From: danieldg Date: Tue, 19 Jan 2010 00:12:19 +0000 Subject: Don't refuse to route internal spanningtree commands due to lack of VF_COMMON git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12299 e03df62e-2008-0410-955e-edbf42e46eb7 --- 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 04bc6898b..5688b840c 100644 --- a/src/modules/m_spanningtree/postcommand.cpp +++ b/src/modules/m_spanningtree/postcommand.cpp @@ -79,7 +79,7 @@ void SpanningTreeUtilities::RouteCommand(TreeServer* origin, const std::string & Module* srcmodule = thiscmd->creator; Version ver = srcmodule->GetVersion(); - if (!(ver.Flags & (VF_COMMON | VF_CORE))) + if (!(ver.Flags & (VF_COMMON | VF_CORE)) && srcmodule != Creator) { ServerInstance->Logs->Log("m_spanningtree",ERROR,"Routed command %s from non-VF_COMMON module %s", command.c_str(), srcmodule->ModuleSourceFile.c_str()); -- cgit v1.2.3