Brackets
This commit is contained in:
parent
ffec5f45a5
commit
e375703e96
1 changed files with 2 additions and 0 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue