summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/precommand.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_spanningtree/precommand.cpp')
-rw-r--r--src/modules/m_spanningtree/precommand.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/modules/m_spanningtree/precommand.cpp b/src/modules/m_spanningtree/precommand.cpp
index 6564dd95b..a024a4901 100644
--- a/src/modules/m_spanningtree/precommand.cpp
+++ b/src/modules/m_spanningtree/precommand.cpp
@@ -82,10 +82,6 @@ ModResult ModuleSpanningTree::OnPreCommand(std::string &command, std::vector<std
this->HandleVersion(parameters,user);
return MOD_RES_DENY;
}
- else if ((command == "MODULES") && (parameters.size() > 0))
- {
- return this->HandleModules(parameters,user);
- }
return MOD_RES_PASSTHRU;
}