2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-07 19:04:20 +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:
rudolfkoenig 2018-03-01 08:48:21 +00:00
parent 7c1daca025
commit a2f4e09c79

View File

@ -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;
}