From 9d30680c2cc557c5879ed6866904e5e8e21f1d34 Mon Sep 17 00:00:00 2001 From: Chris Date: Tue, 13 Sep 2011 10:46:42 +0100 Subject: [PATCH] Incorrect argument hash type, argh. --- Modules.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Modules.pm b/Modules.pm index 8d5b835..4b0af8a 100644 --- a/Modules.pm +++ b/Modules.pm @@ -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})); }