From b717666cf371a74b3c24e875ca01da5b3daf856b Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Tue, 4 Nov 2003 04:15:00 +0000 Subject: also ignore testing remailers in the thesaurus --- Echolot/Thesaurus.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Echolot') diff --git a/Echolot/Thesaurus.pm b/Echolot/Thesaurus.pm index 6662e5e..e2a9f64 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.15 2003/02/17 09:14:47 weasel Exp $ +# $Id: Thesaurus.pm,v 1.16 2003/11/04 04:15:00 weasel Exp $ # =pod @@ -62,6 +62,9 @@ sub build_thesaurus() { my $remailer = Echolot::Globals::get()->{'storage'}->get_address_by_id($id); next unless defined $remailer; next unless $remailer->{'showit'}; + my $caps = Echolot::Globals::get()->{'storage'}->get_capabilities($remailer->{'address'}); + next unless defined $caps; + next unless $caps !~ m/\btesting\b/i; my ($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size, $atime,$mtime,$ctime,$blksize,$blocks) -- cgit v1.2.3