diff options
Diffstat (limited to 'drakwizard.pl')
-rwxr-xr-x | drakwizard.pl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drakwizard.pl b/drakwizard.pl index df20ec4b..4b52d0a4 100755 --- a/drakwizard.pl +++ b/drakwizard.pl @@ -87,11 +87,11 @@ if ($err) { } $::in = $in; -if ($wiz->{o}{use_new_data_structure}) { - my $wizard = wizards->new($wiz->{o}); +if ($wiz->{use_new_data_structure}) { + my $wizard = wizards->new($wiz); $wizard->safe_process($in); } else { - wizard($wiz->{o}); + wizard($wiz); } $in->exit; |