mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 16:56:54 +00:00
CUL_HM:correct commandlist
git-svn-id: https://svn.fhem.de/fhem/trunk@22498 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
bab908c2c8
commit
22bb4d9d8b
@ -4365,8 +4365,9 @@ sub CUL_HM_Set($@) {#+++++++++++++++++ set command+++++++++++++++++++++++++++++
|
|||||||
if($1 eq $_){
|
if($1 eq $_){
|
||||||
$val =~ s/-$repl-/:$hash->{helper}{cmds}{lst}{$_}/;
|
$val =~ s/-$repl-/:$hash->{helper}{cmds}{lst}{$_}/;
|
||||||
last;
|
last;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
$val =~ s/-.*-//;
|
||||||
}
|
}
|
||||||
elsif($val =~ m/^\[([a-zA-Z0-9_-|\.]*)\]$/){
|
elsif($val =~ m/^\[([a-zA-Z0-9_-|\.]*)\]$/){
|
||||||
my @lst1;
|
my @lst1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user