add space instead of + to handle old Axis cameras
This commit is contained in:
parent
01518d6aa9
commit
ad23969982
|
@ -446,7 +446,7 @@ sub handleMessage
|
|||
Debug( "Added timed event '$action_text', expires at $action_time (+$delay secs)\n" );
|
||||
}
|
||||
}
|
||||
elsif ( $action =~ /^(on|off)(?:\+(\d+))?$/ )
|
||||
elsif ( $action =~ /^(on|off)(?:[ \+](\d+))?$/ )
|
||||
{
|
||||
next if ( !$monitor->{Enabled} );
|
||||
|
||||
|
|
Loading…
Reference in New Issue