98_DOIF.pm: fixed: itimer Regex-Check

git-svn-id: https://svn.fhem.de/fhem/trunk@18351 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
Damian
2019-01-20 14:24:30 +00:00
parent 80b8529755
commit 53790e0a46

View File

@@ -2015,7 +2015,7 @@ sub CheckiTimerDoIf($$$) {
my $found;
return 1 if ($itimer =~ /\[$device(\]|,.+\])/);
for (my $j = 0; $j < $max; $j++) {
if ($eventa->[$j] =~ "^(.+): ") {
if ($eventa->[$j] =~ "^([^:]+): ") {
$found = ($itimer =~ /\[$device:$1(\]|:.+\]|,.+\])/);
if ($found) {
return 1;