X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fshow%2Fdxqsl.pl;h=c17da1d20a356ce35381039e764a54d09e125e88;hb=bfd4e140dcf03f12bbda1dd405f8b135f86d0b6a;hp=86905d512f08bc79940af70af1f94ddeb516cb4b;hpb=bab0eedc7cdb3ddb73d1afef0a2de2ce4456107f;p=spider.git diff --git a/cmd/show/dxqsl.pl b/cmd/show/dxqsl.pl index 86905d51..c17da1d2 100644 --- a/cmd/show/dxqsl.pl +++ b/cmd/show/dxqsl.pl @@ -3,28 +3,28 @@ # # Copyright (c) 2003 Dirk Koopman G1TLH # -# $Id$ +# # 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'); } }