summaryrefslogtreecommitdiff
path: root/Echolot/Fromlines.pm
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2003-02-18 06:57:07 +0000
committerPeter Palfrader <peter@palfrader.org>2003-02-18 06:57:07 +0000
commited6e4ea0bc9fccf50a6a6087dbcd68c8788165d3 (patch)
tree2ad55027c9a6deb0eaf561e9821e94c00eb8b4b8 /Echolot/Fromlines.pm
parentb54dc8ce042ed797dd717edcdb85cc040d067cee (diff)
Move do_chainpings yes/no from pingd to Chain.pmsnapshot/2003-02-18
Allow fromlines building to be disabled
Diffstat (limited to 'Echolot/Fromlines.pm')
-rw-r--r--Echolot/Fromlines.pm4
1 files changed, 3 insertions, 1 deletions
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 <peter@palfrader.org>
-# $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();