From ed6e4ea0bc9fccf50a6a6087dbcd68c8788165d3 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Tue, 18 Feb 2003 06:57:07 +0000 Subject: Move do_chainpings yes/no from pingd to Chain.pm Allow fromlines building to be disabled --- Echolot/Fromlines.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Echolot/Fromlines.pm') diff --git a/Echolot/Fromlines.pm b/Echolot/Fromlines.pm index cbb59a0..da414e5 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.1 2003/02/18 06:41:52 weasel Exp $ +# $Id: Fromlines.pm,v 1.2 2003/02/18 06:57:07 weasel Exp $ # =pod @@ -23,6 +23,8 @@ use Echolot::Log; sub build_fromlines() { + return 1 unless Echolot::Config::get()->{'fromlines'}; + my $data; my @remailers = Echolot::Globals::get()->{'storage'}->get_remailers(); -- cgit v1.2.3