mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-01 20:20:10 +00:00
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:
parent
102371d15b
commit
6738b68c7f
2
fhem.pl
2
fhem.pl
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user