fix typo for correct checking if a command has excuted for an event, prevents execution on every filter run

This commit is contained in:
Manojav Sridhar 2017-02-15 08:10:50 -05:00
parent 9dcbb8cf4d
commit f0b2910647
1 changed files with 1 additions and 1 deletions

View File

@ -307,7 +307,7 @@ $dbh->ping();
}
if ( $filter->{AutoExecute} )
{
if ( !$event->{Execute} )
if ( !$event->{Executed} )
{
$delete_ok = undef if ( !executeCommand( $filter, $event ) );
}