Merge branch 'general-devel' of github.com:TShock/TShock into general-devel

This commit is contained in:
Zack Piispanen 2013-10-01 04:53:06 -04:00
commit 98a282cd2a
12 changed files with 164 additions and 27 deletions

View file

@ -845,6 +845,11 @@ namespace TShockAPI
ban = Bans.GetBanByIp(player.IP);
}
if (Config.EnableUUIDBans && null == ban)
{
ban = Bans.GetBanByUUID(player.UUID);
}
if (ban != null)
{
if (!Utils.HasBanExpired(ban))