diff options
| author | 2010-09-12 12:51:45 -0400 | |
|---|---|---|
| committer | 2010-09-12 12:51:45 -0400 | |
| commit | dba66e8cd54e7dd1b70702e6be4008d35e6d4d44 (patch) | |
| tree | 879841d535d59579bd70af4e3d6a68df4037b4cb /src/modules/m_spanningtree/precommand.cpp | |
| parent | Move RemoteUser into spanningtree (diff) | |
| download | inspircd++-dba66e8cd54e7dd1b70702e6be4008d35e6d4d44.tar.gz inspircd++-dba66e8cd54e7dd1b70702e6be4008d35e6d4d44.tar.bz2 inspircd++-dba66e8cd54e7dd1b70702e6be4008d35e6d4d44.zip | |
Change spanningtree intercept of WHOIS to a DoWhois function in RemoteUser
Diffstat (limited to 'src/modules/m_spanningtree/precommand.cpp')
| -rw-r--r-- | src/modules/m_spanningtree/precommand.cpp | 14 |
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); |
