summaryrefslogtreecommitdiff
path: root/src/module.cpp
diff options
context:
space:
mode:
authorrburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864>2008-11-15 15:45:27 +0000
committerrburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864>2008-11-15 15:45:27 +0000
commit73f4cccf99f7c7c8c0fdd9a590b5d947b0fe3d5a (patch)
tree6670fbddf11292d5fb547880a491bbda8d6b6008 /src/module.cpp
parent2145e97d70fc28f38caddaa594253c8bdbfe25a3 (diff)
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
Diffstat (limited to 'src/module.cpp')
-rw-r--r--src/module.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/module.cpp b/src/module.cpp
index f20404467..5676b16fb 100644
--- a/src/module.cpp
+++ b/src/module.cpp
@@ -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) {