Get GeoIP data from SM site for now
This commit is contained in:
		
							parent
							
								
									266532f18c
								
							
						
					
					
						commit
						eb6a39ecde
					
				@ -77,7 +77,7 @@ if (-e '../GeoIP.dat.gz')
 | 
				
			|||||||
if ($needNewGeoIP)
 | 
					if ($needNewGeoIP)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    print "Downloading GeoIP.dat...\n";
 | 
					    print "Downloading GeoIP.dat...\n";
 | 
				
			||||||
    system('wget -q -O ../GeoIP.dat.gz http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz');
 | 
					    system('wget --no-check-certificate -q -O ../GeoIP.dat.gz https://sm.alliedmods.net/GeoIP.dat.gz');
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user