diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2010-01-19 00:12:19 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2010-01-19 00:12:19 +0000 |
commit | 066cad22e48e111de9a993c9ebaddb275b773a75 (patch) | |
tree | 2aab1e1cc0b879cfc797713cfed7ac0cca1a30ea | |
parent | 8fd3b911469ef8e65a36581c7b792d487192a5d1 (diff) |
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
-rw-r--r-- | src/modules/m_spanningtree/postcommand.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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()); |