X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fset%2Fdxcq.pl;h=bfe40760692a565c442a16b52e737fea73266339;hb=ab811a0c902225075a9bd69749f65594079433a9;hp=c70ff168a2e822a19961572b67a2aecaa17ea5e1;hpb=3fc0f2823c2505b08730286880ad8738963bca17;p=spider.git diff --git a/cmd/set/dxcq.pl b/cmd/set/dxcq.pl index c70ff168..bfe40760 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 {