Change DXUser->get* to DXUser::get*
[spider.git] / perl / VE7CC.pm
index c0138cd73bb31eac30d811594160a7d2737d1aff..81a11144b8f3ed4b1fbd0e538c77da67d9207eaa 100644 (file)
@@ -27,7 +27,7 @@ sub dx_spot
        my $t = shift;
        my $loc_spotted = '';
        my $loc_spotter = '';
-       my $ref = DXUser->get_current($spotted);
+       my $ref = DXUser::get_current($spotted);
        if ($ref) {
                my $loc = $ref->qra || '';
                $loc_spotted =substr($loc, 0, 4) if $loc;
@@ -42,7 +42,7 @@ sub dx_spot
        
        my $spotted_cc = (Prefix::cty_data($spotted))[5];
        my $spotter_cc = (Prefix::cty_data($_[1]))[5];
-       $ref = DXUser->get_current($_[1]);
+       $ref = DXUser::get_current($_[1]);
        if ($ref) {
                my $loc = $ref->qra || '';
                $loc_spotter = substr($loc, 0, 4) if $loc;