diff --git a/TShockAPI/DB/BanManager.cs b/TShockAPI/DB/BanManager.cs index 082e5a41..57eaa909 100644 --- a/TShockAPI/DB/BanManager.cs +++ b/TShockAPI/DB/BanManager.cs @@ -92,10 +92,6 @@ throw new Exception("Could not find a database library (probably Sqlite3.dll)"); public Ban GetBanByName(string name, bool casesensitive = true) { - if (!TShock.Config.EnableBanOnUsernames) - { - return null; - } try { var namecol = casesensitive ? "Name" : "UPPER(Name)";