Make GeoIP Great Again!
This commit is contained in:
parent
be4164281a
commit
13977d9e53
3 changed files with 6 additions and 1 deletions
|
|
@ -292,7 +292,7 @@ namespace TShockAPI
|
|||
RestManager = new RestManager(RestApi);
|
||||
RestManager.RegisterRestfulCommands();
|
||||
|
||||
var geoippath = Path.Combine(SavePath, "GeoIP.dat");
|
||||
var geoippath = "GeoIP.dat";
|
||||
if (Config.EnableGeoIP && File.Exists(geoippath))
|
||||
Geo = new GeoIPCountry(geoippath);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue