enable-feature.pl: incorrect use of $olddom ?

Whilst investigating how awstats feature_setup() is called I noticed what is possibly a spelling mistake in

virtual-server/enable-feature.pl

foreach $f (@feature_plugins) {
if ($plugin{$f} && !$olddom{$f}) {
&plugin_call($f, "feature_setup", $d);
}
elsif ($oldd->{$f}) {
&plugin_call($f, "feature_modify", $d, $oldd);
}
}

From reading the entire file and grep-ing all other code, it looks to me as if

if ($plugin{$f} && !$olddom{$f}) {

is incorrect and should probably be

if ($plugin{$f} && !$oldd->{$f}) {

Can someone take a look and confirm (or reject) this?

Status: 
Closed (fixed)