]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_spanningtree/postcommand.cpp
Remove CMD_LOCALONLY, enforce use of GetRouting for routed commands
[user/henk/code/inspircd.git] / src / modules / m_spanningtree / postcommand.cpp
index 2cf4fa3ad58860fb4de074f39a845c433a592f92..1b1f618b8a2907d7bd5640322840b64c4d8f3009 100644 (file)
@@ -68,10 +68,6 @@ void ModuleSpanningTree::OnPostCommand(const std::string &command, const std::ve
                Module* srcmodule = thiscmd->creator;
                Version ver = srcmodule->GetVersion();
 
-               // XXX Temporary check to avoid routing cmd_* entries while they default to global routing
-               if (srcmodule->ModuleSourceFile[0] == 'c')
-                       return;
-
                if (!(ver.Flags & VF_COMMON))
                {
                        ServerInstance->Logs->Log("m_spanningtree",ERROR,"Routed command %s from non-VF_COMMON module %s",