X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fdisconnect.pl;h=afe9b5419fd38ffc841396f86bedbaf090c3bc03;hb=630127263d91ec7f91ec247a8b8beccebd486475;hp=61ba3bf49ed59f22eacdf5f3cd33584cf11c7fc9;hpb=f155969d600561b9ef151a7ce2494a0c89aed033;p=spider.git diff --git a/cmd/disconnect.pl b/cmd/disconnect.pl index 61ba3bf4..afe9b541 100644 --- a/cmd/disconnect.pl +++ b/cmd/disconnect.pl @@ -23,6 +23,15 @@ foreach $call (@calls) { } $dxchan->disconnect; push @out, $self->msg('disc2', $call); + } elsif (my $conn = Msg->conns($call)) { + $conn->disconnect; + push @out, $self->msg('disc3', $call); +# } elsif (my $ref = DXCluster->get_exact($call)) { +# my $dxchancall = $ref->dxchancall; +# if ($dxchancall eq $main::mycall || !DXChannel->get($dxchancall)) { +# $ref->del; +# push @out, $self->msg('disc4', $call); +# } } else { push @out, $self->msg('e10', $call); }