projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
1. cluster seems to have a memory leak, put DESTROY functions in where
[spider.git]
/
perl
/
DXCommandmode.pm
diff --git
a/perl/DXCommandmode.pm
b/perl/DXCommandmode.pm
index d05af70a2936bd67c3ee9aec70b5a3142c8c0426..331ca00e0d51b08042e36f05014a478f0b7829b0 100644
(file)
--- a/
perl/DXCommandmode.pm
+++ b/
perl/DXCommandmode.pm
@@
-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
@@
-144,6
+146,8
@@
sub normal
} else {
$self->send($self->msg('sorry'));
}
} else {
$self->send($self->msg('sorry'));
}
+ } else {
+ $self->send($self->msg('sorry'));
}
delete $self->{passwd};
$self->state('prompt');
}
delete $self->{passwd};
$self->state('prompt');
@@
-302,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;