From 8e107a6a178c2cf1b3a01ca5cf5b5e6916fc1ca8 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Tue, 4 Nov 2003 04:16:15 +0000 Subject: also ignore testing remailers in fromlines --- Echolot/Fromlines.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Echolot') diff --git a/Echolot/Fromlines.pm b/Echolot/Fromlines.pm index 4854fe3..6d16571 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.10 2003/06/06 09:33:15 weasel Exp $ +# $Id: Fromlines.pm,v 1.11 2003/11/04 04:16:15 weasel Exp $ # =pod @@ -34,6 +34,8 @@ sub build_fromlines() { my $nick = Echolot::Globals::get()->{'storage'}->get_nick($addr); next unless defined $nick; my $caps = Echolot::Globals::get()->{'storage'}->get_capabilities($addr); + next unless defined $caps; + next unless $caps !~ m/\btesting\b/i; my $middleman = $caps =~ m/\bmiddle\b/; next if $middleman; -- cgit v1.2.3