X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_spanningtree%2Fprecommand.cpp;h=4733d00714491ada271834fc9a098b659928d734;hb=3ccae741b8c60acc2d95f2dc54d7e69014090807;hp=428e6ab28c14e90f332c077499923db06c7ca2e2;hpb=551d687ec6d7ce44be35fae0dd7345fe73c4f63a;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_spanningtree/precommand.cpp b/src/modules/m_spanningtree/precommand.cpp index 428e6ab28..4733d0071 100644 --- a/src/modules/m_spanningtree/precommand.cpp +++ b/src/modules/m_spanningtree/precommand.cpp @@ -22,8 +22,6 @@ #include "main.h" -/* $ModDep: m_spanningtree/main.h */ - ModResult ModuleSpanningTree::OnPreCommand(std::string &command, std::vector& parameters, LocalUser *user, bool validated, const std::string &original_line) { /* If the command doesnt appear to be valid, we dont want to mess with it. */ @@ -38,10 +36,6 @@ ModResult ModuleSpanningTree::OnPreCommand(std::string &command, std::vectorHandleSquit(parameters,user); } - else if (command == "MAP") - { - return this->HandleMap(parameters,user) ? MOD_RES_DENY : MOD_RES_PASSTHRU; - } else if (command == "LINKS") { this->HandleLinks(parameters,user); @@ -61,4 +55,3 @@ ModResult ModuleSpanningTree::OnPreCommand(std::string &command, std::vector