add space instead of + to handle old Axis cameras

This commit is contained in:
Isaac Connor 2015-07-16 13:06:15 -04:00
parent 01518d6aa9
commit ad23969982
1 changed files with 1 additions and 1 deletions

View File

@ -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} );