projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added DK0WCY-3 WWV announce beacon parsing into local WWV file
[spider.git]
/
perl
/
DXCommandmode.pm
diff --git
a/perl/DXCommandmode.pm
b/perl/DXCommandmode.pm
index f9981349cb0e1b4d1766f4f72a489782776f3a02..35fd35cc5fc4b510f3acc70675616dcb168c9b36 100644
(file)
--- a/
perl/DXCommandmode.pm
+++ b/
perl/DXCommandmode.pm
@@
-21,7
+21,7
@@
use DXLog;
use DXLogPrint;
use DXBearing;
use CmdAlias;
use DXLogPrint;
use DXBearing;
use CmdAlias;
-use
FileHand
le;
+use
IO::Fi
le;
use Filter;
use Carp;
use Filter;
use Carp;
@@
-77,7
+77,9
@@
sub start
# issue a pc16 to everybody interested
my $nchan = DXChannel->get($main::mycall);
my @pc16 = DXProt::pc16($nchan, $cuser);
# issue a pc16 to everybody interested
my $nchan = DXChannel->get($main::mycall);
my @pc16 = DXProt::pc16($nchan, $cuser);
- DXProt::broadcast_ak1a(@pc16);
+ for (@pc16) {
+ DXProt::broadcast_all_ak1a($_);
+ }
Log('DXCommand', "$call connected");
# send prompts and things
Log('DXCommand', "$call connected");
# send prompts and things
@@
-87,7
+89,7
@@
sub start
$self->send($self->msg('qthe1')) if !$user->qth;
$self->send($self->msg('qll')) if !$user->qra || (!$user->lat && !$user->long);
$self->send($self->msg('hnodee1')) if !$user->qth;
$self->send($self->msg('qthe1')) if !$user->qth;
$self->send($self->msg('qll')) if !$user->qra || (!$user->lat && !$user->long);
$self->send($self->msg('hnodee1')) if !$user->qth;
- $self->send($self->msg('m
sgnew
')) if DXMsg::for_me($call);
+ $self->send($self->msg('m
9
')) if DXMsg::for_me($call);
# get the filters
$self->{spotfilter} = Filter::read_in('spots', $call);
# get the filters
$self->{spotfilter} = Filter::read_in('spots', $call);
@@
-304,7
+306,7
@@
sub finish
# issue a pc17 to everybody interested
my $nchan = DXChannel->get($main::mycall);
my $pc17 = $nchan->pc17($self);
# issue a pc17 to everybody interested
my $nchan = DXChannel->get($main::mycall);
my $pc17 = $nchan->pc17($self);
- DXProt::broadcast_ak1a($pc17);
+ DXProt::broadcast_a
ll_a
k1a($pc17);
Log('DXCommand', "$call disconnected");
$ref->del() if $ref;
Log('DXCommand', "$call disconnected");
$ref->del() if $ref;
@@
-507,7
+509,7
@@
sub find_cmd_name {
} else {
delete_package($package) if defined $Cache{$package}{mtime};
} else {
delete_package($package) if defined $Cache{$package}{mtime};
- my $fh = new
FileHand
le;
+ my $fh = new
IO::Fi
le;
if (!open $fh, $filename) {
$errstr = "Syserr: can't open '$filename' $!";
return undef;
if (!open $fh, $filename) {
$errstr = "Syserr: can't open '$filename' $!";
return undef;