X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FDXCommandmode.pm;h=4477ea75241f62b97a57167f30bf23dc470459c7;hb=96461da2f857d65129b2e6acd19bd075984c31f1;hp=b0d23af25008417324e823732d3efe7b0c5f08a7;hpb=15a742ea0f1983282fdff272a362555afbdb99ad;p=spider.git diff --git a/perl/DXCommandmode.pm b/perl/DXCommandmode.pm index b0d23af2..4477ea75 100644 --- a/perl/DXCommandmode.pm +++ b/perl/DXCommandmode.pm @@ -82,7 +82,7 @@ sub start $self->{here} = 1; # get the filters - $self->{spotfilter} = Filter::read_in('spots', $call, 0) || Filter::read_in('spots', 'user_default', 0); + $self->{spotsfilter} = Filter::read_in('spots', $call, 0) || Filter::read_in('spots', 'user_default', 0); $self->{wwvfilter} = Filter::read_in('wwv', $call, 0) || Filter::read_in('wwv', 'user_default', 0); $self->{wcyfilter} = Filter::read_in('wcy', $call, 0) || Filter::read_in('wcy', 'user_default', 0); $self->{annfilter} = Filter::read_in('ann', $call, 0) || Filter::read_in('ann', 'user_default', 0) ; @@ -302,7 +302,7 @@ sub run_cmd # split the command line up into parts, the first part is the command my ($cmd, $args) = split /\s+/, $cmdline, 2; - $args = "" unless $args; + $args = "" unless defined $args; if ($cmd) { @@ -314,7 +314,7 @@ sub run_cmd my $acmd = CmdAlias::get_cmd($cmd); if ($acmd) { ($cmd, $args) = split /\s+/, "$acmd $args", 2; - $args = "" unless $args; + $args = "" unless defined $args; dbg('command', "aliased cmd: $cmd $args"); } @@ -401,10 +401,10 @@ sub finish sleep(1); } - if ($call eq $main::myalias) { # unset the channel if it is us really - my $node = DXNode->get($main::mycall); - $node->{dxchan} = 0; - } +# if ($call eq $main::myalias) { # unset the channel if it is us really +# my $node = DXNode->get($main::mycall); +# $node->{dxchan} = 0; +# } # issue a pc17 to everybody interested my $nchan = DXChannel->get($main::mycall);