summaryrefslogtreecommitdiff
path: root/src/module.cpp
diff options
context:
space:
mode:
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) {