]> dxcluster.org Git - spider.git/commitdiff
stop any 'in transit' messages
authorminima <minima>
Thu, 16 Aug 2001 14:41:52 +0000 (14:41 +0000)
committerminima <minima>
Thu, 16 Aug 2001 14:41:52 +0000 (14:41 +0000)
cmd/kill.pl

index dd4760594a3effeb471af28634c0f07ae46d7b14..ab7bb511a9082f4902f10a1d0bc90a918504af18 100644 (file)
@@ -66,6 +66,8 @@ foreach $ref ( @refs) {
        if ($full) {
                DXProt::broadcast_ak1a(DXProt::pc49($ref->{from}, $ref->{subject}), $DXProt::me);
        }
+       my $tonode = $ref->tonode;
+       $ref->stop_msg($tonode) if $tonode;
        $ref->del_msg;
        push @out, $self->msg('m12', $ref->msgno);
 }