98_cmdalias.pm: Avoid crashing (Forum #30439)
git-svn-id: https://svn.fhem.de/fhem/trunk@7218 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -87,6 +87,7 @@ CommandCmdAlias($$$)
|
||||
return $r;
|
||||
}
|
||||
}
|
||||
return undef if(!$a->{OrigFn});
|
||||
no strict "refs";
|
||||
return &{$a->{OrigFn} }($cl, $param, $alias);
|
||||
use strict "refs";
|
||||
|
||||
Reference in New Issue
Block a user