diff options
author | Peter Palfrader <peter@palfrader.org> | 2002-09-10 20:04:46 +0000 |
---|---|---|
committer | Peter Palfrader <peter@palfrader.org> | 2002-09-10 20:04:46 +0000 |
commit | 5d2e68445abbaa16a066699b78d81c1eb1512137 (patch) | |
tree | d4737fcbb8b452ec1009d95d16cc617eadc7f82c /Echolot | |
parent | 7806b9613d43e46d28782bc1cdb4f3f637911d2b (diff) |
Only decrease a remailer's ttl during requesting -conf if it was requested by the usualy timer run and not by the user.
Diffstat (limited to 'Echolot')
-rw-r--r-- | Echolot/Conf.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Echolot/Conf.pm b/Echolot/Conf.pm index 63e2c88..890bf1c 100644 --- a/Echolot/Conf.pm +++ b/Echolot/Conf.pm @@ -1,7 +1,7 @@ package Echolot::Conf; # (c) 2002 Peter Palfrader <peter@palfrader.org> -# $Id: Conf.pm,v 1.28 2002/09/03 17:14:26 weasel Exp $ +# $Id: Conf.pm,v 1.29 2002/09/10 20:04:46 weasel Exp $ # =pod @@ -86,7 +86,7 @@ sub send_requests($;$) { 'Token' => $type.'.'.$remailer->{'id'}, 'Body' => $body); - Echolot::Globals::get()->{'storage'}->decrease_ttl($address) if ($type eq 'conf'); + Echolot::Globals::get()->{'storage'}->decrease_ttl($address) if (($type eq 'conf') && ($which eq '')); }; }; Echolot::Globals::get()->{'storage'}->enable_commit(); |