diff --git a/scripts/zmfilter.pl.in b/scripts/zmfilter.pl.in index e51993bec..e1aafaac2 100644 --- a/scripts/zmfilter.pl.in +++ b/scripts/zmfilter.pl.in @@ -307,7 +307,7 @@ $dbh->ping(); } if ( $filter->{AutoExecute} ) { - if ( !$event->{Execute} ) + if ( !$event->{Executed} ) { $delete_ok = undef if ( !executeCommand( $filter, $event ) ); }