mirror of
https://github.com/anope/anope.git
synced 2026-06-27 04:46:37 +02:00
Remove unused moduleAddMessage/moduleDelMessage, move moduleCallBackRun() into ModuleManager::
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1695 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
@@ -77,11 +77,9 @@ Module::~Module()
|
||||
|
||||
int idx;
|
||||
CommandHash *current = NULL;
|
||||
MessageHash *mcurrent = NULL;
|
||||
EvtHookHash *ehcurrent = NULL;
|
||||
|
||||
Command *c;
|
||||
Message *msg;
|
||||
EvtHook *eHook;
|
||||
int status = 0;
|
||||
|
||||
@@ -151,15 +149,6 @@ Module::~Module()
|
||||
}
|
||||
}
|
||||
|
||||
for (mcurrent = IRCD[idx]; mcurrent; mcurrent = mcurrent->next) {
|
||||
for (msg = mcurrent->m; msg; msg = msg->next) {
|
||||
if ((msg->mod_name)
|
||||
&& (stricmp(msg->mod_name, this->name.c_str()) == 0)) {
|
||||
moduleDelMessage(msg->name);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
for (ehcurrent = EVENTHOOKS[idx]; ehcurrent;
|
||||
ehcurrent = ehcurrent->next) {
|
||||
for (eHook = ehcurrent->evh; eHook; eHook = eHook->next) {
|
||||
|
||||
Reference in New Issue
Block a user