diff options
Diffstat (limited to 'src/command.cpp')
| -rw-r--r-- | src/command.cpp | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/command.cpp b/src/command.cpp index fc745fe46..b440c741f 100644 --- a/src/command.cpp +++ b/src/command.cpp @@ -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; } |
