1
0
mirror of https://github.com/anope/anope.git synced 2026-06-25 18:36:37 +02:00

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
This commit is contained in:
rburchell
2009-04-02 22:59:27 +00:00
parent ef400fa6dc
commit 48ef6617ac
10 changed files with 35 additions and 179 deletions
+1 -7
View File
@@ -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.