X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FDXCommandmode.pm;h=72d65cb316ebd05d0d36d76fd7330bcfd7a28d50;hb=211b54d504170a8c9dad2bf25b9ed686d5eeac11;hp=e7cf7e972c94a4ac5a401366565035c65460629f;hpb=aab304809ccbaa1512aad80e1e75e8f057558656;p=spider.git diff --git a/perl/DXCommandmode.pm b/perl/DXCommandmode.pm index e7cf7e97..72d65cb3 100644 --- a/perl/DXCommandmode.pm +++ b/perl/DXCommandmode.pm @@ -81,6 +81,12 @@ sub start $self->{logininfo} = $user->wantlogininfo; $self->{here} = 1; + # get the filters + $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) ; + # clean up qra locators my $qra = $user->qra; $qra = undef if ($qra && !DXBearing::is_qra($qra)); @@ -395,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);