X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;ds=inline;f=cmd%2Fdisconnect.pl;h=9207d73b930c5833725821538524e1ac51c242c2;hb=4857e1753d2fa365287d222e5fe8eacff9236eb5;hp=61ba3bf49ed59f22eacdf5f3cd33584cf11c7fc9;hpb=f155969d600561b9ef151a7ce2494a0c89aed033;p=spider.git diff --git a/cmd/disconnect.pl b/cmd/disconnect.pl index 61ba3bf4..9207d73b 100644 --- a/cmd/disconnect.pl +++ b/cmd/disconnect.pl @@ -23,6 +23,8 @@ foreach $call (@calls) { } $dxchan->disconnect; push @out, $self->msg('disc2', $call); + } elsif (my $conn = Msg->call($call)) { + $conn->disconnect; } else { push @out, $self->msg('e10', $call); }