projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
a mostly working send message implementation
[spider.git]
/
cmd
/
disconnect.pl
diff --git
a/cmd/disconnect.pl
b/cmd/disconnect.pl
index 6154d3cc27c0e7bc26fa61d68db6d5998ef726e3..32cb543f43469bfa4692d1e8270681225194c441 100644
(file)
--- a/
cmd/disconnect.pl
+++ b/
cmd/disconnect.pl
@@
-12,13
+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) {
if ($dxchan->is_ak1a) {
my $dxchan = DXChannel->get($call);
if ($dxchan) {
if ($dxchan->is_ak1a) {
- $dxchan->send_now("D",
$self->pc39(
'Disconnected'));
-
} else {
+ $dxchan->send_now("D",
DXProt::pc39($dxchan->call,
'Disconnected'));
+ } else {
$dxchan->disconnect;
$dxchan->disconnect;
- }
+ }
push @out, "disconnected $call";
} else {
push @out, "$call not connected locally";
push @out, "disconnected $call";
} else {
push @out, "$call not connected locally";