Incorrect argument hash type, argh.

This commit is contained in:
Chris 2011-09-13 10:46:42 +01:00
parent 666c8b5759
commit 9d30680c2c

View File

@ -187,10 +187,10 @@ sub _new_module_internal {
require "$name.pm";
# Set up the module argument hash...
my %args = { "modid" => $modrow -> {"id"},
my %args = ( "modid" => $modrow -> {"id"},
"args" => $modarg,
"module" => $self,
};
);
foreach my $key (%{$self}) {
$args{$key} = $self -> {$key} if(!defined($args{$key}));
}