projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix disconnect from peer
[spider.git]
/
cmd
/
set
/
dxitu.pl
diff --git
a/cmd/set/dxitu.pl
b/cmd/set/dxitu.pl
index 7b68a31a278acc4183339450b820d086f7f7745f..0e002ba748fe99a70980deef98a3d1b87f76ef4c 100644
(file)
--- a/
cmd/set/dxitu.pl
+++ b/
cmd/set/dxitu.pl
@@
-3,7
+3,7
@@
#
# Copyright (c) 2000 - Dirk Koopman
#
#
# Copyright (c) 2000 - Dirk Koopman
#
-#
$Id$
+#
#
my ($self, $line) = @_;
#
my ($self, $line) = @_;
@@
-15,9
+15,17
@@
my @out;
foreach $call (@args) {
$call = uc $call;
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) {
$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 {
$user->put;
push @out, $self->msg('dxitus', $call);
} else {