]> git.ipfire.org Git - thirdparty/AWStats.git/commitdiff
Fix: Fix pb on geoip for isp and org
authoreldy <>
Fri, 25 Jul 2008 07:29:09 +0000 (07:29 +0000)
committereldy <>
Fri, 25 Jul 2008 07:29:09 +0000 (07:29 +0000)
wwwroot/cgi-bin/plugins/geoip_isp_maxmind.pm
wwwroot/cgi-bin/plugins/geoip_org_maxmind.pm

index 717e0730bc9c65702248d36cae4a8b19fae69f06..411984c2d9733321349911aeb146539626d416a6 100644 (file)
@@ -73,7 +73,6 @@ sub Init_geoip_isp_maxmind {
                if ($mode eq '' || $mode eq 'GEOIP_MEMORY_CACHE')  { $mode=Geo::IP::GEOIP_MEMORY_CACHE(); }
                else { $mode=Geo::IP::GEOIP_STANDARD(); }
        }
-       %TmpDomainLookup=();
        debug(" Plugin geoip_isp_maxmind: GeoIP initialized type=$type mode=$mode",1);
        if ($type eq 'geoippureperl') {
                $geoip_isp_maxmind = Geo::IP::PurePerl->open($datafile, $mode);
index 1e7a80f70438b0baddc1ebfe90fed75a196fb0ef..2da63c1d3ba486bca84f9fa68f0779cd4021fa19 100644 (file)
@@ -73,7 +73,6 @@ sub Init_geoip_org_maxmind {
                if ($mode eq '' || $mode eq 'GEOIP_MEMORY_CACHE')  { $mode=Geo::IP::GEOIP_MEMORY_CACHE(); }
                else { $mode=Geo::IP::GEOIP_STANDARD(); }
        }
-       %TmpDomainLookup=();
        debug(" Plugin geoip_org_maxmind: GeoIP initialized type=$type mode=$mode",1);
        if ($type eq 'geoippureperl') {
                $geoip_org_maxmind = Geo::IP::PurePerl->open($datafile, $mode);