diff options
author | Peter Palfrader <peter@palfrader.org> | 2003-02-25 19:59:01 +0000 |
---|---|---|
committer | Peter Palfrader <peter@palfrader.org> | 2003-02-25 19:59:01 +0000 |
commit | f896a6d5d6998b8403e636971cf53ca785b70347 (patch) | |
tree | a1d1f7c96ea8eda487e461206649b9b13ce20638 /Echolot/Fromlines.pm | |
parent | c78552ffe9ac71f805fc02da7e0c6808ed4c3306 (diff) |
Ignore top/bot from middleman remailerssnapshot/2003-02-25
Diffstat (limited to 'Echolot/Fromlines.pm')
-rw-r--r-- | Echolot/Fromlines.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Echolot/Fromlines.pm b/Echolot/Fromlines.pm index e78c684..e43389e 100644 --- a/Echolot/Fromlines.pm +++ b/Echolot/Fromlines.pm @@ -1,7 +1,7 @@ package Echolot::Fromlines; # (c) 2002 Peter Palfrader <peter@palfrader.org> -# $Id: Fromlines.pm,v 1.4 2003/02/21 06:37:35 weasel Exp $ +# $Id: Fromlines.pm,v 1.5 2003/02/25 19:59:01 weasel Exp $ # =pod @@ -48,8 +48,8 @@ sub build_fromlines() { my $from = $from_info->{'from'}; $from = 'Not Available' unless defined $from; $from = 'Middleman Remailer' if $middleman; - my $disclaim_top = $from_info->{'disclaim_top'} ? 1 : 0; - my $disclaim_bot = $from_info->{'disclaim_bot'} ? 1 : 0; + my $disclaim_top = $from_info->{'disclaim_top'} && ! $middleman ? 1 : 0; + my $disclaim_bot = $from_info->{'disclaim_bot'} && ! $middleman ? 1 : 0; my $frominfo = $disclaim_top.':'.$disclaim_bot.':'.$from; push @{$from_types->{$frominfo}}, $type; }; |