projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
1. added WWV filtering
[spider.git]
/
perl
/
DXCommandmode.pm
diff --git
a/perl/DXCommandmode.pm
b/perl/DXCommandmode.pm
index f9981349cb0e1b4d1766f4f72a489782776f3a02..24d3f0a9597fe475c2e178290fe1b2f3e2e3d17f 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
@@
-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;