Fix slots around the time
[spider.git] / cmd / set / dxitu.pl
index 7b68a31a278acc4183339450b820d086f7f7745f..a8fd500e179bd795f633f9d49f0cc274f533d0ae 100644 (file)
@@ -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 {