summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-03 15:53:15 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-03 15:53:15 +0000
commit1c1c5fc3f01c42a09d34594989679bbc8fb21c0d (patch)
tree5c74dbaff535f90799e997795074e6c1fbc19091 /src/modules/m_spanningtree
parentb45dcb19d3350a5ae5e9a006b3679f0bc3992fea (diff)
Remove CMD_LOCALONLY, enforce use of GetRouting for routed commands
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11671 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_spanningtree')
-rw-r--r--src/modules/m_spanningtree/postcommand.cpp4
-rw-r--r--src/modules/m_spanningtree/rsquit.cpp1
2 files changed, 0 insertions, 5 deletions
diff --git a/src/modules/m_spanningtree/postcommand.cpp b/src/modules/m_spanningtree/postcommand.cpp
index 2cf4fa3ad..1b1f618b8 100644
--- a/src/modules/m_spanningtree/postcommand.cpp
+++ b/src/modules/m_spanningtree/postcommand.cpp
@@ -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",
diff --git a/src/modules/m_spanningtree/rsquit.cpp b/src/modules/m_spanningtree/rsquit.cpp
index 2afe8d4f8..7de539905 100644
--- a/src/modules/m_spanningtree/rsquit.cpp
+++ b/src/modules/m_spanningtree/rsquit.cpp
@@ -61,7 +61,6 @@ CmdResult CommandRSQuit::Handle (const std::vector<std::string>& parameters, Use
sock->Squit(server_target, std::string("Server quit by ") + user->GetFullRealHost() + " (" + reason + ")");
ServerInstance->SE->DelFd(sock);
sock->Close();
- return CMD_LOCALONLY;
}
}