]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_spanningtree/precommand.cpp
Update Event and Request APIs
[user/henk/code/inspircd.git] / src / modules / m_spanningtree / precommand.cpp
index 94f98faf1bb240123edf59edf84804379487c910..c43e4e927c12566bb173dfc517a21838791887eb 100644 (file)
 /* $ModDesc: Provides a spanning tree server link protocol */
 
 #include "inspircd.h"
-#include "commands/cmd_whois.h"
-#include "commands/cmd_stats.h"
 #include "socket.h"
 #include "xline.h"
-#include "../transport.h"
 
 #include "main.h"
 #include "utils.h"
@@ -84,10 +81,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;
 }