aboutsummaryrefslogtreecommitdiffstats
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.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/modules/m_spanningtree/precommand.cpp b/src/modules/m_spanningtree/precommand.cpp
index 806246056..33b0e908d 100644
--- a/src/modules/m_spanningtree/precommand.cpp
+++ b/src/modules/m_spanningtree/precommand.cpp
@@ -11,19 +11,13 @@
* ---------------------------------------------------
*/
-/* $ModDesc: Provides a spanning tree server link protocol */
-
#include "inspircd.h"
-#include "socket.h"
-#include "xline.h"
#include "main.h"
#include "utils.h"
#include "treeserver.h"
#include "treesocket.h"
-/* $ModDep: m_spanningtree/main.h m_spanningtree/utils.h m_spanningtree/treeserver.h m_spanningtree/treesocket.h */
-
ModResult ModuleSpanningTree::OnPreCommand(std::string &command, std::vector<std::string>& 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. */
@@ -47,14 +41,6 @@ ModResult ModuleSpanningTree::OnPreCommand(std::string &command, std::vector<std
this->HandleLinks(parameters,user);
return MOD_RES_DENY;
}
- else if (command == "WHOIS")
- {
- if (parameters.size() > 1)
- {
- // remote whois
- return this->HandleRemoteWhois(parameters,user);
- }
- }
else if ((command == "VERSION") && (parameters.size() > 0))
{
this->HandleVersion(parameters,user);