X-Git-Url: http://www.dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fshow%2Fdx.pl;h=0728c650dbd20918d580788d91f0bcd52fa9c537;hb=b80b21be59cd48ebdee1ceeddd739114d6e9ab08;hp=17a17d27e3e23e4fa0ec19a0aa092ddbb3699862;hpb=9af2711cba6e2a1aa298580ba00d87594d623c30;p=spider.git diff --git a/cmd/show/dx.pl b/cmd/show/dx.pl index 17a17d27..0728c650 100644 --- a/cmd/show/dx.pl +++ b/cmd/show/dx.pl @@ -86,7 +86,7 @@ while ($f = shift @list) { # next field next; } if (lc $f =~ /^filt/) { - $dofilter = 1 if $self->spotsfilter; + $dofilter = 1 if $self && $self->spotsfilter; next; } if (lc $f eq 'qsl') { @@ -372,7 +372,7 @@ foreach $ref (@res) { if ($self && $self->ve7cc) { push @out, VE7CC::dx_spot($self, @$ref); } else { - if ($real) { + if ($self && $real) { push @out, DXCommandmode::format_dx_spot($self, @$ref); } else { push @out, Spot::formatl(@$ref);