mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-12 22:56:34 +00:00
xmllist won't work the first time
git-svn-id: https://svn.fhem.de/fhem/trunk@3074 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
874efb2d4c
commit
9eaf0f56ec
@ -758,7 +758,6 @@ AnalyzeCommand($$)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$fn = $cmds{$fn}{ReplacedBy}
|
||||
if(defined($cmds{$fn}) && defined($cmds{$fn}{ReplacedBy}));
|
||||
|
||||
@ -767,9 +766,10 @@ AnalyzeCommand($$)
|
||||
if(!defined($cmds{$fn}) || !defined($cmds{$fn}{Fn})) {
|
||||
map { $fn = $_ if(lc($fn) eq lc($_)); } keys %modules;
|
||||
$fn = LoadModule($fn);
|
||||
return "Unknown command $fn, try help" if(!defined($cmds{$fn}));
|
||||
return "Unknown command $fn, try help" if(!defined($cmds{lc($fn)}));
|
||||
}
|
||||
|
||||
|
||||
$param = "" if(!defined($param));
|
||||
no strict "refs";
|
||||
my $ret = &{$cmds{$fn}{Fn} }($cl, $param);
|
||||
|
Loading…
x
Reference in New Issue
Block a user