X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fdisconnect.pl;h=9e6b67dff927a521d5cb7db530927cf6aec8ef4d;hb=ae1b5c3757a468d25dc183b8fd3be88985bb34f7;hp=61ba3bf49ed59f22eacdf5f3cd33584cf11c7fc9;hpb=f155969d600561b9ef151a7ce2494a0c89aed033;p=spider.git diff --git a/cmd/disconnect.pl b/cmd/disconnect.pl index 61ba3bf4..9e6b67df 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->conns($call)) { + $conn->disconnect; } else { push @out, $self->msg('e10', $call); }