X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fset%2Fdxitu.pl;h=0e002ba748fe99a70980deef98a3d1b87f76ef4c;hb=ab811a0c902225075a9bd69749f65594079433a9;hp=7b68a31a278acc4183339450b820d086f7f7745f;hpb=3fc0f2823c2505b08730286880ad8738963bca17;p=spider.git diff --git a/cmd/set/dxitu.pl b/cmd/set/dxitu.pl index 7b68a31a..0e002ba7 100644 --- a/cmd/set/dxitu.pl +++ b/cmd/set/dxitu.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->wantdxitu(1); + if ($user->wantdxcq) { + push @out, $self->msg('dxcqu', $call); + $user->wantdxcq(0); + } + if ($user->wantusstate) { + push @out, $self->msg('usstateu', $call); + $user->wantusstate(0); + } $user->put; push @out, $self->msg('dxitus', $call); } else {