From f896a6d5d6998b8403e636971cf53ca785b70347 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Tue, 25 Feb 2003 19:59:01 +0000 Subject: Ignore top/bot from middleman remailers --- Echolot/Fromlines.pm | 6 +++--- 1 file 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 -# $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; }; -- cgit v1.2.3