X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?p=spider.git;a=blobdiff_plain;f=cmd%2Fforward%2Flatlong.pl;h=e9afd71014e6e1913f998cdd802cfe4abeb2e69a;hp=2282be3cce01e43e53b9147bd75cea0ec177a208;hb=ab811a0c902225075a9bd69749f65594079433a9;hpb=8182fba8e33d568b834621cc35c1ca7c74fb5487 diff --git a/cmd/forward/latlong.pl b/cmd/forward/latlong.pl index 2282be3c..e9afd710 100644 --- a/cmd/forward/latlong.pl +++ b/cmd/forward/latlong.pl @@ -29,7 +29,7 @@ use DB_File; my ($action, $count, $key, $data); for ($action = R_FIRST, $count = 0; !$DXUser::dbm->seq($key, $data, $action); $action = R_NEXT) { if ($data =~ m{(?:lat|long) =>}) { - my $u = DXUser->get_current($key); + my $u = DXUser::get_current($key); if ($u) { my $lat = $u->lat; my $long = $u->long;