Changed File.Delete to use Path.Combine
This commit is contained in:
parent
6468ed7562
commit
fa8bf82e35
1 changed files with 1 additions and 1 deletions
|
|
@ -1601,7 +1601,7 @@ namespace TShockAPI
|
|||
args.Player.SendMessage("You can always use the /user command to manage players. Don't just delete the auth.lck.");
|
||||
args.Player.SendMessage("Thankyou for using TShock! http://tshock.co/ & http://github.com/TShock/TShock");
|
||||
FileTools.CreateFile(Path.Combine(TShock.SavePath, "auth.lck"));
|
||||
File.Delete("./tshock/authcode.txt");
|
||||
File.Delete(Path.Combine(TShock.SavePath, "authcode.txt"));
|
||||
TShock.AuthToken = 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue