1
0
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:
Adam
2010-05-14 20:35:38 -04:00
committed by Adam
parent 81a45520a7
commit f049124905
167 changed files with 2178 additions and 3133 deletions
+1 -9
View File
@@ -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; }