X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fset%2Fdxcq.pl;h=f3de3303f6c29e34974755096ea0d5ace40e913a;hb=a2b5f735ab1f3a416c95a43ad8bf4f183dd300eb;hp=c70ff168a2e822a19961572b67a2aecaa17ea5e1;hpb=3fc0f2823c2505b08730286880ad8738963bca17;p=spider.git diff --git a/cmd/set/dxcq.pl b/cmd/set/dxcq.pl index c70ff168..f3de3303 100644 --- a/cmd/set/dxcq.pl +++ b/cmd/set/dxcq.pl @@ -3,7 +3,7 @@ # # Copyright (c) 2000 - Dirk Koopman # -# $Id$ +# # my ($self, $line) = @_; @@ -15,9 +15,17 @@ my @out; foreach $call (@args) { $call = uc $call; - my $user = DXUser->get_current($call); + my $user = DXUser::get_current($call); if ($user) { $user->wantdxcq(1); + if ($user->wantdxitu) { + push @out, $self->msg('dxituu', $call); + $user->wantdxitu(0); + } +# if ($user->wantusstate) { +# push @out, $self->msg('usstateu', $call); +# $user->wantusstate(0); +# } $user->put; push @out, $self->msg('dxcqs', $call); } else {