Added a config option (default off) for banning by usernames.

This commit is contained in:
Lucas Nicodemus 2011-07-21 12:39:01 -06:00
parent 529f51d95e
commit 3744e49592
2 changed files with 5 additions and 0 deletions

View file

@ -96,6 +96,7 @@ namespace TShockAPI
public bool EnableDNSHostResolution = false;
public bool EnableBanOnUsernames = false;
public static ConfigFile Read(string path)
{
if (!File.Exists(path))