projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
1. Fixed problems with sh/rcmd (talk/ann/log) with a callsign as argument and
[spider.git]
/
cmd
/
unset
/
here.pl
diff --git
a/cmd/unset/here.pl
b/cmd/unset/here.pl
index 7311b5e84e546090f2eec6a475abfbf1d585f346..7e2991528551ef96c05a1fa2ca0373349481ff63 100644
(file)
--- a/
cmd/unset/here.pl
+++ b/
cmd/unset/here.pl
@@
-15,13
+15,15
@@
my @out;
foreach $call (@args) {
$call = uc $call;
foreach $call (@args) {
$call = uc $call;
+ my $dxchan = DXChannel->get($call);
my $ref = DXCluster->get($call);
my $ref = DXCluster->get($call);
- if ($ref) {
+ if ($dxchan && $ref) {
+ $dxchan->here(0);
$ref->here(0);
DXProt::broadcast_ak1a(DXProt::pc24($ref));
$ref->here(0);
DXProt::broadcast_ak1a(DXProt::pc24($ref));
- push @out,
DXM::
msg('hereu', $call);
+ push @out,
$self->
msg('hereu', $call);
} else {
} else {
- push @out,
DXM::
msg('e3', "Unset Here", $call);
+ push @out,
$self->
msg('e3', "Unset Here", $call);
}
}
return (1, @out);
}
}
return (1, @out);