]> dxcluster.org Git - spider.git/blobdiff - perl/Prefix.pm
add country names to the end of the Ve7cc dx spots string
[spider.git] / perl / Prefix.pm
index bc8a0edf92ea3f411b6e2f242fe6eef824a228ad..9ec6edda05a51e055e8d7e710e8f9fac7f5d3dbf 100644 (file)
@@ -481,7 +481,7 @@ sub cty_data
        
        my @dxcc = extract($call);
        if (@dxcc) {
-               return ($dxcc[1]->dxcc, $dxcc[1]->itu, $dxcc[1]->cq, $dxcc[1]->state, $dxcc[1]->city);
+               return ($dxcc[1]->dxcc, $dxcc[1]->itu, $dxcc[1]->cq, ($dxcc[1]->state||''), ($dxcc[1]->city||''), ($dxcc[1]->name||''));
        }
        return (666,0,0,'','');         
 }