]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_spanningtree/precommand.cpp
Change more modules to VF_OPTCOMMON and assert identical charsets in m_nationalchars
[user/henk/code/inspircd.git] / src / modules / m_spanningtree / precommand.cpp
index 6564dd95b1c8a978310799302448cac1169a2f28..25fab76fc10ee0eb0cdb55c6e26d1fb868a6acf8 100644 (file)
@@ -2,7 +2,7 @@
  *       | Inspire Internet Relay Chat Daemon |
  *       +------------------------------------+
  *
- *  InspIRCd: (C) 2002-2009 InspIRCd Development Team
+ *  InspIRCd: (C) 2002-2010 InspIRCd Development Team
  * See: http://wiki.inspircd.org/Credits
  *
  * This program is free but copyrighted software; see
@@ -16,7 +16,6 @@
 #include "inspircd.h"
 #include "socket.h"
 #include "xline.h"
-#include "../transport.h"
 
 #include "main.h"
 #include "utils.h"
@@ -59,11 +58,6 @@ ModResult ModuleSpanningTree::OnPreCommand(std::string &command, std::vector<std
        {
                return this->HandleTime(parameters,user);
        }
-       else if (command == "LUSERS")
-       {
-               this->HandleLusers(parameters,user);
-               return MOD_RES_DENY;
-       }
        else if (command == "LINKS")
        {
                this->HandleLinks(parameters,user);
@@ -82,10 +76,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;
 }