summaryrefslogtreecommitdiff
path: root/src/process.c
diff options
context:
space:
mode:
authorrburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864>2008-11-15 15:46:25 +0000
committerrburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864>2008-11-15 15:46:25 +0000
commitdde05e96cff5b0c5d5587265e03b31c585f53424 (patch)
tree8f13e765a2ace3188c4b9d05b0d6ee20e6ab1499 /src/process.c
parent73f4cccf99f7c7c8c0fdd9a590b5d947b0fe3d5a (diff)
Remove Message::mod_name, modules cannot own ircd messages any more (this means everything at protocol level is handled *at protocol level only*, which is good). Also merge callback stuff in with Module class, removing more mod_current_ usage.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1696 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/process.c b/src/process.c
index 54a4dc1e8..253fd31b7 100644
--- a/src/process.c
+++ b/src/process.c
@@ -409,15 +409,11 @@ void process()
m = find_message(cmd);
if (m) {
if (m->func) {
- mod_current_module_name = m->mod_name;
retVal = m->func(source, ac, av);
- mod_current_module_name = NULL;
if (retVal == MOD_CONT) {
current = m->next;
while (current && current->func && retVal == MOD_CONT) {
- mod_current_module_name = current->mod_name;
retVal = current->func(source, ac, av);
- mod_current_module_name = NULL;
current = current->next;
}
}