summaryrefslogtreecommitdiff
path: root/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'process.c')
-rw-r--r--process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/process.c b/process.c
index 1f4290869..c917c9785 100644
--- a/process.c
+++ b/process.c
@@ -235,7 +235,7 @@ void process()
if (retVal == MOD_CONT) {
current = m->next;
while (current && current->func && retVal == MOD_CONT) {
- mod_current_module_name = m->mod_name;
+ mod_current_module_name = current->mod_name;
retVal = current->func(source, ac, av);
mod_current_module_name = NULL;
current = current->next;