diff options
| author | fukachan <fukachan> | 2004-07-23 12:41:33 +0000 |
|---|---|---|
| committer | fukachan <fukachan> | 2004-07-23 12:41:33 +0000 |
| commit | 83a1ff568938d30f3c0fae2eefae86cd1d9683c3 (patch) | |
| tree | 575fb33d5589515815f2ef97e3fe2d3a23c83739 | |
| parent | be5514afcc7a0200b9a1a188151e9a354e5566ae (diff) | |
| download | fml8-83a1ff568938d30f3c0fae2eefae86cd1d9683c3.tar.gz fml8-83a1ff568938d30f3c0fae2eefae86cd1d9683c3.tar.bz2 fml8-83a1ff568938d30f3c0fae2eefae86cd1d9683c3.zip | |
ensure initial value.
| -rw-r--r-- | fml/lib/FML/Filter/Size.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fml/lib/FML/Filter/Size.pm b/fml/lib/FML/Filter/Size.pm index 52c0c249..0b51435e 100644 --- a/fml/lib/FML/Filter/Size.pm +++ b/fml/lib/FML/Filter/Size.pm @@ -4,7 +4,7 @@ # All rights reserved. This program is free software; you can # redistribute it and/or modify it under the same terms as Perl itself. # -# $FML: Size.pm,v 1.8 2004/01/21 03:43:30 fukachan Exp $ +# $FML: Size.pm,v 1.9 2004/02/01 14:52:50 fukachan Exp $ # package FML::Filter::Size; @@ -16,7 +16,7 @@ use ErrorStatus qw(error_set error error_clear); =head1 NAME -FML::Filter::Size - filter based on mail size +FML::Filter::Size - filter based on mail size. =head1 SYNOPSIS @@ -196,7 +196,7 @@ sub _check_mail_size my $hdr_size = $msg->whole_message_header_size(); my $body_size = $msg->whole_message_body_size(); my $class = $self->{ _class }; - my $limit = $config->{ "${class}_${type}_size_limit" }; + my $limit = $config->{ "${class}_${type}_size_limit" } || 10240000; my $reason = ''; my $errmsg_key = ''; |
