From 218a6c34b28e608ee0dd1b2af76360826d7e31ce Mon Sep 17 00:00:00 2001 From: minima Date: Thu, 7 Nov 2002 19:26:13 +0000 Subject: [PATCH] change the default store for deletetime --- perl/DXMsg.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl/DXMsg.pm b/perl/DXMsg.pm index 43a1207b..e90a6bb1 100644 --- a/perl/DXMsg.pm +++ b/perl/DXMsg.pm @@ -522,7 +522,7 @@ sub store my $rr = $ref->{rrreq} ? '1' : '0'; my $priv = $ref->{private} ? '1': '0'; my $del = $ref->{delete} ? '1' : '0'; - my $delt = $ref->{deletetime} || '0'; + my $delt = $ref->{deletetime} || ($ref->{t} + $maxage); my $keep = $ref->{keep} || '0'; print $fh "=== $ref->{msgno}^$ref->{to}^$ref->{from}^$ref->{t}^$priv^$ref->{subject}^$ref->{origin}^$ref->{'read'}^$rr^$del^$delt^$keep\n"; print $fh "=== ", join('^', @{$ref->{gotit}}), "\n"; -- 2.43.0