diff options
Diffstat (limited to 'bin/spamcat')
-rwxr-xr-x | bin/spamcat | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/spamcat b/bin/spamcat index 8549d95..25f04d2 100755 --- a/bin/spamcat +++ b/bin/spamcat @@ -94,7 +94,7 @@ if ($#ARGV >= 0) { } elsif ($cmd eq 'get') { my $sender = shift @ARGV; pod2usage(1) unless $sender; - my $count = $sch->get_count($sender); + my $count = $sch->get_count($sender) || $conf{default_count}; print "$sender has $count messages remaining.\n"; } elsif ($cmd eq 'set') { my ($sender, $count) = @ARGV; |