restructure all the busy/fwq stuff and hide them all in subroutines
[spider.git] / cmd / kill.pl
index ab7bb511a9082f4902f10a1d0bc90a918504af18..b98a42f69b2c5d3947e58e5d5e0e6cc0a92d9a0a 100644 (file)
@@ -64,11 +64,11 @@ while (@f) {
 foreach $ref ( @refs) {
        Log('msg', "Message $ref->{msgno} from $ref->{from} to $ref->{to} deleted by $call");
        if ($full) {
-               DXProt::broadcast_ak1a(DXProt::pc49($ref->{from}, $ref->{subject}), $DXProt::me);
+               DXChannel::broadcast_nodes(DXProt::pc49($ref->{from}, $ref->{subject}), $main::me);
        }
        my $tonode = $ref->tonode;
        $ref->stop_msg($tonode) if $tonode;
-       $ref->del_msg;
+       $ref->del_msg($self);
        push @out, $self->msg('m12', $ref->msgno);
 }