mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-07 12:58:13 +00:00
98_cmdalias.pm: use $cl (nneded by authorization) for replaced commands (Forum #85083)
git-svn-id: https://svn.fhem.de/fhem/trunk@16300 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
7c1daca025
commit
a2f4e09c79
@ -89,7 +89,7 @@ CommandCmdAlias($$$)
|
||||
my %specials= ("%EVENT" => $param);
|
||||
my $exec = EvalSpecials($h->{NEWCMD}, %specials);
|
||||
$h->{InExec} = 1;
|
||||
my $r = AnalyzeCommandChain(undef, $exec);
|
||||
my $r = AnalyzeCommandChain($cl, $exec);
|
||||
delete $h->{InExec};
|
||||
return $r;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user