From ca9c8bcbdf13c06cafc2adfcb2f50fbbd85180d7 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Tue, 2 Jul 2002 18:15:26 +0000 Subject: configure pinging options (i.e. cpunkt-{rsa,dsa,none}, mix) --- Echolot/Pinger.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Echolot/Pinger.pm') diff --git a/Echolot/Pinger.pm b/Echolot/Pinger.pm index 86ba068..3f092d5 100644 --- a/Echolot/Pinger.pm +++ b/Echolot/Pinger.pm @@ -1,7 +1,7 @@ package Echolot::Pinger; # (c) 2002 Peter Palfrader -# $Id: Pinger.pm,v 1.10 2002/07/02 18:03:55 weasel Exp $ +# $Id: Pinger.pm,v 1.11 2002/07/02 18:15:26 weasel Exp $ # =pod @@ -112,6 +112,7 @@ sub send_pings() { next unless ($this_call_id eq $this_remailer_id); for my $type (Echolot::Globals::get()->{'storage'}->get_types($address)) { + next unless Echolot::Config::get()->{'do_pings'}->{$type}; for my $key (Echolot::Globals::get()->{'storage'}->get_keys($address, $type)) { print "ping calling $type, $address, $key\n" if Echolot::Config::get()->{'verbose'}; do_ping($type, $address, $key); -- cgit v1.2.3