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
/
dxcq.pl
diff --git
a/cmd/set/dxcq.pl
b/cmd/set/dxcq.pl
index c70ff168a2e822a19961572b67a2aecaa17ea5e1..bfe40760692a565c442a16b52e737fea73266339 100644
(file)
--- a/
cmd/set/dxcq.pl
+++ b/
cmd/set/dxcq.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->wantdxcq(1);
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 {
$user->put;
push @out, $self->msg('dxcqs', $call);
} else {