aboutsummaryrefslogtreecommitdiffstats
path: root/lib/SpamCat.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/SpamCat.pm')
-rw-r--r--lib/SpamCat.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/SpamCat.pm b/lib/SpamCat.pm
index 7dff474..4807149 100644
--- a/lib/SpamCat.pm
+++ b/lib/SpamCat.pm
@@ -48,7 +48,7 @@ sub deliver {
return if $count == 0;
if ($count > 0) {
- my $count_str = '[' . $count . '/' . $self->{default_count} . ']';
+ my $count_str = '[' . ($self->{default_count} - $count + 1) . '/' . $self->{default_count} . ']';
my $new_subject = $email->header('Subject');
if ($new_subject) {
$new_subject .= ' - ' . $count_str;