mirror of
https://github.com/anope/anope.git
synced 2026-06-26 07:36:39 +02:00
Rewrote the hashing system to use std::tr1::unordered_map
This commit is contained in:
+1
-9
@@ -12,20 +12,12 @@
|
||||
|
||||
Command::Command(const ci::string &sname, size_t min_params, size_t max_params, const std::string &spermission) : MaxParams(max_params), MinParams(min_params), name(sname), permission(spermission)
|
||||
{
|
||||
this->core = 0;
|
||||
this->mod_name = NULL;
|
||||
this->module = NULL;
|
||||
this->service = NULL;
|
||||
this->next = NULL;
|
||||
}
|
||||
|
||||
Command::~Command()
|
||||
{
|
||||
if (this->mod_name) {
|
||||
delete [] this->mod_name;
|
||||
}
|
||||
if (this->service) {
|
||||
delete [] this->service;
|
||||
}
|
||||
}
|
||||
|
||||
CommandReturn Command::Execute(User *u, const std::vector<ci::string> &) { return MOD_CONT; }
|
||||
|
||||
Reference in New Issue
Block a user