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 ++- NEWS | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) 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) diff --git a/NEWS b/NEWS index 75eb3f3..4eeb72f 100644 --- a/NEWS +++ b/NEWS @@ -1,6 +1,7 @@ Changes in version 2.0rc1 - 2002-09-05 * new version number. * Random spelling fixes. + * Do not show hidden remailers in thesaurus. Changes in version 2.0beta34 - 2002-09-04 * Make ping/request time more random. -- cgit v1.2.3