This commit is contained in:
Shank 2011-06-06 19:01:08 -06:00
parent ffec5f45a5
commit e375703e96

View file

@ -368,7 +368,9 @@ namespace TShockAPI
public static void AuthToken(CommandArgs args)
{
if (ConfigurationManager.authToken == 0)
{
return;
}
int givenCode = Convert.ToInt32(args.Message.Remove(0, 5));
if (givenCode == ConfigurationManager.authToken)
{