X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fshow%2Fdxqsl.pl;h=c17da1d20a356ce35381039e764a54d09e125e88;hb=0be137c3bbf8516ccfa5fd2a88952595ee279a54;hp=a4b0a3f9f8f82fdf38269aa4901bbc18f774d08f;hpb=c3505bcfc922cd712bad2c20b3479cf8d1dc54fe;p=spider.git diff --git a/cmd/show/dxqsl.pl b/cmd/show/dxqsl.pl index a4b0a3f9..c17da1d2 100644 --- a/cmd/show/dxqsl.pl +++ b/cmd/show/dxqsl.pl @@ -10,21 +10,21 @@ my ($self, $line) = @_; my @call = split /\s+/, uc $line; my @out; -$DB::single=1; +#$DB::single=1; return (1, $self->msg('db3', 'QSL')) unless $QSL::dbm; -push @out, $self->msg('qsl1'); foreach my $call (@call) { my $q = QSL::get($call); if ($q) { my $c = $call; + push @out, $self->msg('qsl1') unless @out; for (sort {$b->[2] <=> $a->[2]} @{$q->[1]}) { push @out, sprintf "%-14s %-10s %4d %s %s", $c, $_->[0], $_->[1], cldatetime($_->[2]), $_->[3]; $c = ""; } } else { - push @out, $self->msg('db2', $call, 'QSL'); + push @out, $self->msg('db2', $call, 'DxQSL DB'); } }