mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-21 07:56:03 +00:00
90_at.pm: allow repetitive for absolute functions (Forum #116377)
git-svn-id: https://svn.fhem.de/fhem/trunk@23279 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
013745c067
commit
2f73b18ac6
@ -61,7 +61,7 @@ at_Define($$)
|
||||
}
|
||||
|
||||
return "Wrong timespec, use \"[+][*[{count}]]<time or func>\""
|
||||
if($tm !~ m/^(\+)?(\*(\{\d+\})?)?(.*)$/);
|
||||
if($tm !~ m/^(\+)?(\*(\{\d+\})?)?(.*)$/);
|
||||
my ($rel, $rep, $cnt, $tspec) = ($1, $2, $3, $4);
|
||||
|
||||
my ($abstime, $err, $hr, $min, $sec, $fn);
|
||||
@ -91,7 +91,7 @@ at_Define($$)
|
||||
}
|
||||
|
||||
}
|
||||
return "datespec is not allowed with + or *" if($abstime && ($rel || $rep));
|
||||
return "datespec is not allowed with +" if($abstime && $rel);
|
||||
|
||||
if($hash->{CL}) { # Do not check this for definition
|
||||
$err = perlSyntaxCheck($command, ());
|
||||
|
Loading…
x
Reference in New Issue
Block a user