From 686dae936b387c672b54cb568c28e6e792a81364 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Thu, 5 Sep 2002 15:41:38 +0000 Subject: Do not show hidden remailers in thesaurus --- Echolot/Storage/File.pm | 3 ++- Echolot/Thesaurus.pm | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'Echolot') diff --git a/Echolot/Storage/File.pm b/Echolot/Storage/File.pm index e6bfd02..c71e4e8 100644 --- a/Echolot/Storage/File.pm +++ b/Echolot/Storage/File.pm @@ -1,7 +1,7 @@ package Echolot::Storage::File; # (c) 2002 Peter Palfrader -# $Id: File.pm,v 1.39 2002/08/21 20:10:51 weasel Exp $ +# $Id: File.pm,v 1.40 2002/09/05 15:41:38 weasel Exp $ # =pod @@ -513,6 +513,7 @@ sub get_address($$) { id => $self->{'METADATA'}->{'addresses'}->{$addr}->{'id'}, address => $_, fetch => $self->{'METADATA'}->{'addresses'}->{$addr}->{'fetch'}, + showit => $self->{'METADATA'}->{'addresses'}->{$addr}->{'showit'}, resurrection_ttl => $self->{'METADATA'}->{'addresses'}->{$addr}->{'resurrection_ttl'}, }; diff --git a/Echolot/Thesaurus.pm b/Echolot/Thesaurus.pm index 201258b..887429e 100644 --- a/Echolot/Thesaurus.pm +++ b/Echolot/Thesaurus.pm @@ -1,7 +1,7 @@ package Echolot::Thesaurus; # (c) 2002 Peter Palfrader -# $Id: Thesaurus.pm,v 1.11 2002/08/14 22:54:20 weasel Exp $ +# $Id: Thesaurus.pm,v 1.12 2002/09/05 15:41:38 weasel Exp $ # =pod @@ -61,6 +61,7 @@ sub build_thesaurus() { my $remailer = Echolot::Globals::get()->{'storage'}->get_address_by_id($id); next unless defined $remailer; + next unless $remailer->{'showit'}; my ($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size, $atime,$mtime,$ctime,$blksize,$blocks) -- cgit v1.2.3