X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fshutdown.pl;h=695748aa0df793aa32bd212493b737109f6f4140;hb=aba7a0d5b7287daac0d3b708aa222247a2e87e86;hp=c2350de0f197df34f70f58fe51d4173f5be72650;hpb=b060a0a3ee72530aa3f10d453186a662b66d7efe;p=spider.git diff --git a/cmd/shutdown.pl b/cmd/shutdown.pl index c2350de0..695748aa 100644 --- a/cmd/shutdown.pl +++ b/cmd/shutdown.pl @@ -10,7 +10,7 @@ my $ref; if ($self->priv >= 5) { foreach $ref (DXChannel::get_all()) { $ref->send_now("D", DXProt::pc39($main::mycall, "Shutdown by $call")) - if $ref->is_ak1a && $ref != $DXProt::me; + if $ref->is_node && $ref != $DXProt::me; $ref->send_now("D", $self->msg('shutting')) if $ref->is_user; }