diff options
author | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-04-02 22:59:27 +0000 |
---|---|---|
committer | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-04-02 22:59:27 +0000 |
commit | 48ef6617acff38cdce32233d447c4317b61ab048 (patch) | |
tree | c13b67f905da74fe8c4f446ef6cc43aa2039fb60 /src/command.cpp | |
parent | ef400fa6dc98f8be74a37725beb3ef67405d458c (diff) |
Remove capability for commands to hook existing commands, add an OnPreCommand event instead. Tidies up a lot of stuff. Also remove a bunch of dead code.
NOTE: This will break some stuff.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2241 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/command.cpp')
-rw-r--r-- | src/command.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/command.cpp b/src/command.cpp index 5c754cd8d..752ea370c 100644 --- a/src/command.cpp +++ b/src/command.cpp @@ -9,14 +9,9 @@ Command::Command(const std::string &sname, size_t min_params, size_t max_params) this->help_param3 = NULL; this->help_param4 = NULL; this->core = 0; - this->next = NULL; this->mod_name = NULL; this->service = NULL; - this->all_help = NULL; - this->regular_help = NULL; - this->oper_help = NULL; - this->admin_help = NULL; - this->root_help = NULL; + this->next = NULL; } Command::~Command() @@ -27,7 +22,6 @@ Command::~Command() if (this->service) { delete [] this->service; } - this->next = NULL; } /** Execute this command. |