From 1596ea1335852054c11f6aa7c179959292c70228 Mon Sep 17 00:00:00 2001 From: ementalo Date: Tue, 26 Jun 2012 23:08:33 +0100 Subject: [PATCH] Fix GeoIP config --- .../com/earth2me/essentials/settings/geoip/Database.java | 8 ++++---- .../src/com/earth2me/essentials/settings/geoip/GeoIP.java | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Essentials/src/com/earth2me/essentials/settings/geoip/Database.java b/Essentials/src/com/earth2me/essentials/settings/geoip/Database.java index 0e883d0bd..2060e08e0 100644 --- a/Essentials/src/com/earth2me/essentials/settings/geoip/Database.java +++ b/Essentials/src/com/earth2me/essentials/settings/geoip/Database.java @@ -9,8 +9,8 @@ import lombok.EqualsAndHashCode; @EqualsAndHashCode(callSuper = false) public class Database implements StorageObject { - boolean showCities = false; - boolean downloadIfMissing = true; - 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 boolean showCities = false; + private boolean downloadIfMissing = true; + private String downloadUrlCity = "http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz"; + private String downloadUrl = "http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz"; } diff --git a/Essentials/src/com/earth2me/essentials/settings/geoip/GeoIP.java b/Essentials/src/com/earth2me/essentials/settings/geoip/GeoIP.java index 65a909ed4..5942b678f 100644 --- a/Essentials/src/com/earth2me/essentials/settings/geoip/GeoIP.java +++ b/Essentials/src/com/earth2me/essentials/settings/geoip/GeoIP.java @@ -10,6 +10,6 @@ import lombok.EqualsAndHashCode; public class GeoIP implements StorageObject { private Database database = new Database(); - boolean showOnWhois = true; - boolean showOnLogin = true; + private boolean showOnWhois = true; + private boolean showOnLogin = true; }