clamdscan: fix karma decrementer
This commit is contained in:
parent
8d69b923fa
commit
4d394e847b
@ -167,7 +167,7 @@ sub data_post_handler {
|
||||
$self->connection->notes('naughty', 1); # see plugins/naughty
|
||||
|
||||
if ( defined $self->connection->notes('karma') ) {
|
||||
$self->connection->notes('karma', $self->connection->notes('karma') - 1);
|
||||
$self->connection->notes('karma', ($self->connection->notes('karma') - 1));
|
||||
};
|
||||
|
||||
if ( $self->{_args}{deny_viruses} ) {
|
||||
|
Loading…
Reference in New Issue
Block a user