From 1d2192ba17b965e4f114880731cb69817437805c Mon Sep 17 00:00:00 2001 From: Matt Simerson Date: Sat, 30 Jun 2012 16:12:42 -0400 Subject: [PATCH 1/2] registry: renamed clamd abb3 from cad to clm --- plugins/registry.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/registry.txt b/plugins/registry.txt index 0ecfb3a..8d6f1ae 100644 --- a/plugins/registry.txt +++ b/plugins/registry.txt @@ -64,7 +64,7 @@ 70 virus::aveclient ave avirs 71 virus::bitdefender bit bitdf 72 virus::clamav cav clamv -73 virus::clamdscan cad clamd +73 virus::clamdscan clm clamd 74 virus::hbedv hbv hbedv 75 virus::kavscanner kav kavsc 76 virus::klez_filter klz vklez From c6b7b504bb98ecdc0273aa479d45623d1fe048f1 Mon Sep 17 00:00:00 2001 From: Matt Simerson Date: Sat, 30 Jun 2012 16:28:54 -0400 Subject: [PATCH 2/2] added missing semicolon --- lib/Qpsmtpd/Plugin.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Qpsmtpd/Plugin.pm b/lib/Qpsmtpd/Plugin.pm index 3086c20..3bb4b73 100644 --- a/lib/Qpsmtpd/Plugin.pm +++ b/lib/Qpsmtpd/Plugin.pm @@ -285,7 +285,7 @@ sub is_immune { sub adjust_karma { my ( $self, $value ) = @_; - my $karma = $self->connection->notes('karma') || 0 + my $karma = $self->connection->notes('karma') || 0; $karma += $value; $self->connection->notes('karma', $value); return $value;