]> git.ipfire.org Git - thirdparty/AWStats.git/commitdiff
Fixed bug #3025413 for geoip_city_maxmind.pm plugin
authormanolamancha <>
Tue, 6 Jul 2010 15:08:05 +0000 (15:08 +0000)
committermanolamancha <>
Tue, 6 Jul 2010 15:08:05 +0000 (15:08 +0000)
wwwroot/cgi-bin/plugins/geoip_city_maxmind.pm

index 32da923fc4f6b1bcdf3d76f151ef567e70330e33..a8ec54c8a95cf252409728373bbe5a0833a62f81 100755 (executable)
@@ -4577,9 +4577,6 @@ sub ShowInfoHost_geoip_city_maxmind {
                my $country;
                my $city;
                my @res = TmpLookup_geoip_city_maxmind($param);
-                       if (!@res){
-                               @res=$geoip_city_maxmind->get_city_record($param) if $geoip_city_maxmind;
-                       }
                if (@res){
                        $country = $res[0];
                        $city = $res[4];
@@ -4619,9 +4616,6 @@ sub ShowInfoHost_geoip_city_maxmind {
                my $country;
                my $city;
                my @res = TmpLookup_geoip_city_maxmind($param);
-                       if (!@res){
-                               @res=$geoip_city_maxmind->get_city_record($param) if $geoip_city_maxmind;
-                       }
                if (@res){
                        $country = $res[0];
                        $city = $res[4];