summaryrefslogtreecommitdiff
path: root/src/modules.c
diff options
context:
space:
mode:
authorcyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864>2009-11-18 01:05:12 +0000
committercyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864>2009-11-18 01:05:12 +0000
commitda8a1c7b6068dcc079d6f710a877ed53fabff86f (patch)
tree599684a3661fa346705d768568bf1e5d5b71f770 /src/modules.c
parente10fe1cd767cf479837eecc1e1b26615d63ea5ac (diff)
Remove some CoreExports and add them in other places, fixed a few minor warnings under Windows build, made Windows build create a static library out of win32_memory.cpp and use that with everything instead of relying on it being compiled into everything (saves compiling time).
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2656 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/modules.c')
-rw-r--r--src/modules.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/modules.c b/src/modules.c
index 3482220ae..6a65da2eb 100644
--- a/src/modules.c
+++ b/src/modules.c
@@ -549,8 +549,6 @@ int delMessage(MessageHash * msgTable[], Message * m)
current->m = tail->next;
}
return MOD_ERR_OK;
- last = tail;
- tail = tail->next;
}
} else {
msgTable[index] = current->next;
@@ -567,8 +565,6 @@ int delMessage(MessageHash * msgTable[], Message * m)
current->m = tail->next;
}
return MOD_ERR_OK;
- last = tail;
- tail = tail->next;
}
} else {
lastHash->next = current->next;