fhem.pl: fix Regexp for the multi-io-clientArray patch (Forum #127565)

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@26034 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2022-05-09 09:50:54 +00:00
parent 102371d15b
commit 6738b68c7f

View File

@ -2170,7 +2170,7 @@ CommandDefine($$)
$cl = $modules{$ah->{TYPE}}{Clients} if(!$cl); $cl = $modules{$ah->{TYPE}}{Clients} if(!$cl);
next if(!$cl || !$ah->{'.clientArray'}); next if(!$cl || !$ah->{'.clientArray'});
foreach my $cmRe ( split(/:/, $cl) ) { foreach my $cmRe ( split(/:/, $cl) ) {
if($m =~ $cmRe) { if($m =~ m/^$cmRe$/) {
delete($ah->{'.clientArray'}); delete($ah->{'.clientArray'});
last; last;
} }