Attempting a work around for DNS host resolution. There will now be a configuration parameter that will enable the check. This is expensive, and not recommended, but a better reserved slot system will be done in the future.
Closes #254
This commit is contained in:
parent
d6c1f44219
commit
407d327236
3 changed files with 41 additions and 4 deletions
|
|
@ -93,7 +93,9 @@ namespace TShockAPI
|
|||
public string TileKillAbuseReason = "Tile Kill abuse ({0})";
|
||||
public string HardcoreBanReason = "Death results in a ban";
|
||||
public string HardcoreKickReason = "Death results in a kick";
|
||||
|
||||
|
||||
public bool EnableDNSHostResolution = false;
|
||||
|
||||
public static ConfigFile Read(string path)
|
||||
{
|
||||
if (!File.Exists(path))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue