mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-18 20:41:37 +02:00
Fix GeoIP config
This commit is contained in:
@@ -9,8 +9,8 @@ import lombok.EqualsAndHashCode;
|
|||||||
@EqualsAndHashCode(callSuper = false)
|
@EqualsAndHashCode(callSuper = false)
|
||||||
public class Database implements StorageObject
|
public class Database implements StorageObject
|
||||||
{
|
{
|
||||||
boolean showCities = false;
|
private boolean showCities = false;
|
||||||
boolean downloadIfMissing = true;
|
private boolean downloadIfMissing = true;
|
||||||
String downloadUrlCity = "http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz";
|
private String downloadUrlCity = "http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz";
|
||||||
String downloadUrl = "http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz";
|
private String downloadUrl = "http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz";
|
||||||
}
|
}
|
||||||
|
@@ -10,6 +10,6 @@ import lombok.EqualsAndHashCode;
|
|||||||
public class GeoIP implements StorageObject
|
public class GeoIP implements StorageObject
|
||||||
{
|
{
|
||||||
private Database database = new Database();
|
private Database database = new Database();
|
||||||
boolean showOnWhois = true;
|
private boolean showOnWhois = true;
|
||||||
boolean showOnLogin = true;
|
private boolean showOnLogin = true;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user