Whitelist kick message.

This commit is contained in:
Zack Piispanen 2012-04-15 14:59:10 -04:00
parent 7bfd9d244e
commit 7c7a9a90ee
2 changed files with 3 additions and 1 deletions

View file

@ -656,7 +656,7 @@ namespace TShockAPI
if (!FileTools.OnWhitelist(player.IP))
{
Utils.ForceKick(player, "Not on whitelist.");
Utils.ForceKick(player, Config.WhitelistKickReason);
handler.Handled = true;
return;
}