Fixed setting of module id during module loading.

This commit is contained in:
Chris 2011-11-16 13:07:39 +00:00
parent 1f4472cff3
commit 1bf2f9dc76

View File

@ -188,7 +188,7 @@ sub _new_module_internal {
die "Unable to load module $name: $@" if($@);
# Set up the module argument hash...
my %args = ( "modid" => $modrow -> {"id"},
my %args = ( "modid" => $modrow -> {"module_id"},
"args" => $modarg,
"module" => $self,
);