diff options
| author | Brian Cully <bjc@kublai.com> | 2022-06-19 18:46:04 -0400 |
|---|---|---|
| committer | Brian Cully <bjc@kublai.com> | 2022-06-19 18:46:04 -0400 |
| commit | e8235e7264e467f6dd64587fbd26faad2f74cbbc (patch) | |
| tree | d7debdb63e8f300c2f7fdb6f35d14c191a0408d4 /lib | |
| parent | d5854dd65ddc3ab6638794b2554e7f86a358b89f (diff) | |
| download | spamcat-e8235e7264e467f6dd64587fbd26faad2f74cbbc.tar.gz spamcat-e8235e7264e467f6dd64587fbd26faad2f74cbbc.zip | |
Show remaining in Subject.
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/SpamCat.pm | 2 |
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; |
