mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-07 19:04:20 +00:00
Delete of the at definition in the at command is possible now
git-svn-id: https://svn.fhem.de/fhem/trunk@331 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
07301cd7ff
commit
ba0afff7e9
@ -93,7 +93,7 @@ at_Exec($)
|
|||||||
my ($name) = @_;
|
my ($name) = @_;
|
||||||
my ($skip, $disable);
|
my ($skip, $disable);
|
||||||
|
|
||||||
return if(!$defs{$name}{DEF}); # Just deleted
|
return if(!$defs{$name}); # Just deleted
|
||||||
|
|
||||||
if(defined($attr{$name})) {
|
if(defined($attr{$name})) {
|
||||||
$skip = 1 if($attr{$name} && $attr{$name}{skip_next});
|
$skip = 1 if($attr{$name} && $attr{$name}{skip_next});
|
||||||
@ -105,6 +105,8 @@ at_Exec($)
|
|||||||
$command = SemicolonEscape($command);
|
$command = SemicolonEscape($command);
|
||||||
AnalyzeCommandChain(undef, $command) if(!$skip && !$disable);
|
AnalyzeCommandChain(undef, $command) if(!$skip && !$disable);
|
||||||
|
|
||||||
|
return if(!$defs{$name}); # Deleted in the Command
|
||||||
|
|
||||||
my $count = $defs{$name}{REP};
|
my $count = $defs{$name}{REP};
|
||||||
my $def = $defs{$name}{DEF};
|
my $def = $defs{$name}{DEF};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user