diff options
author | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-02-09 21:01:05 +0000 |
---|---|---|
committer | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-02-09 21:01:05 +0000 |
commit | d7d01bdc5c667a1fafd95241282b58e03b4caa5b (patch) | |
tree | f1482d8734da609923c6d8af6bc8fcb0fc187534 /src/module.cpp | |
parent | d49b3a25fda5f597491e73640dd1e76babc240eb (diff) |
Squashed commit: merge next (1.9.1) back to trunk.
SVN users, NOTE: THIS WILL NOT BUILD, NOR SHOULD YOU RUN IT YET.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1953 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/module.cpp')
-rw-r--r-- | src/module.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/module.cpp b/src/module.cpp index 1f61b2b54..cfec523b3 100644 --- a/src/module.cpp +++ b/src/module.cpp @@ -86,7 +86,7 @@ Module::~Module() for (current = HS_cmdTable[idx]; current; current = current->next) { for (c = current->c; c; c = c->next) { if ((c->mod_name) && (strcmp(c->mod_name, this->name.c_str()) == 0)) { - this->DelCommand(HOSTSERV, c->name); + this->DelCommand(HOSTSERV, c->name.c_str()); } } } @@ -94,7 +94,7 @@ Module::~Module() for (current = BS_cmdTable[idx]; current; current = current->next) { for (c = current->c; c; c = c->next) { if ((c->mod_name) && (strcmp(c->mod_name, this->name.c_str()) == 0)) { - this->DelCommand(BOTSERV, c->name); + this->DelCommand(BOTSERV, c->name.c_str()); } } } @@ -102,7 +102,7 @@ Module::~Module() for (current = MS_cmdTable[idx]; current; current = current->next) { for (c = current->c; c; c = c->next) { if ((c->mod_name) && (strcmp(c->mod_name, this->name.c_str()) == 0)) { - this->DelCommand(MEMOSERV, c->name); + this->DelCommand(MEMOSERV, c->name.c_str()); } } } @@ -110,7 +110,7 @@ Module::~Module() for (current = NS_cmdTable[idx]; current; current = current->next) { for (c = current->c; c; c = c->next) { if ((c->mod_name) && (strcmp(c->mod_name, this->name.c_str()) == 0)) { - this->DelCommand(NICKSERV, c->name); + this->DelCommand(NICKSERV, c->name.c_str()); } } } @@ -118,7 +118,7 @@ Module::~Module() for (current = CS_cmdTable[idx]; current; current = current->next) { for (c = current->c; c; c = c->next) { if ((c->mod_name) && (strcmp(c->mod_name, this->name.c_str()) == 0)) { - this->DelCommand(CHANSERV, c->name); + this->DelCommand(CHANSERV, c->name.c_str()); } } } @@ -126,7 +126,7 @@ Module::~Module() for (current = HE_cmdTable[idx]; current; current = current->next) { for (c = current->c; c; c = c->next) { if ((c->mod_name) && (strcmp(c->mod_name, this->name.c_str()) == 0)) { - this->DelCommand(HELPSERV, c->name); + this->DelCommand(HELPSERV, c->name.c_str()); } } } @@ -134,7 +134,7 @@ Module::~Module() for (current = OS_cmdTable[idx]; current; current = current->next) { for (c = current->c; c; c = c->next) { if ((c->mod_name) && (stricmp(c->mod_name, this->name.c_str()) == 0)) { - this->DelCommand(OPERSERV, c->name); + this->DelCommand(OPERSERV, c->name.c_str()); } } } |