clamdscan: fix karma decrementer

This commit is contained in:
Matt Simerson 2012-06-25 02:57:37 -04:00
parent 4646b0ff0a
commit feb9ede9df

View File

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