summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2002-09-05 15:41:38 +0000
committerPeter Palfrader <peter@palfrader.org>2002-09-05 15:41:38 +0000
commit686dae936b387c672b54cb568c28e6e792a81364 (patch)
treed9f28e0ae8802ecd1c60839c9401150a64e1d11c
parenta8bacc6dcdafe01f652a24cf7a7927b368413db1 (diff)
Do not show hidden remailers in thesaurusecholot-2.0rc1
-rw-r--r--Echolot/Storage/File.pm3
-rw-r--r--Echolot/Thesaurus.pm3
-rw-r--r--NEWS1
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 <peter@palfrader.org>
-# $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 <peter@palfrader.org>
-# $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.