projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
1. Fixed DXBearing::is_qra so that it correctly detects full QRA locators
[spider.git]
/
cmd
/
disconnect.pl
diff --git
a/cmd/disconnect.pl
b/cmd/disconnect.pl
index bc3570476f78d6f849a3d0318a28ba19f3602a94..51ddc696e4a54bf62abf593ffff9a552a1531f15 100644
(file)
--- a/
cmd/disconnect.pl
+++ b/
cmd/disconnect.pl
@@
-12,9
+12,14
@@
if ($self->priv < 9) {
foreach $call (@calls) {
$call = uc $call;
foreach $call (@calls) {
$call = uc $call;
+ next if $call eq $main::mycall;
my $dxchan = DXChannel->get($call);
if ($dxchan) {
my $dxchan = DXChannel->get($call);
if ($dxchan) {
- $dxchan->disconnect;
+ if ($dxchan->is_ak1a) {
+ $dxchan->send_now("D", DXProt::pc39($main::mycall, 'Disconnected'));
+ } else {
+ $dxchan->disconnect;
+ }
push @out, "disconnected $call";
} else {
push @out, "$call not connected locally";
push @out, "disconnected $call";
} else {
push @out, "$call not connected locally";