diff --git a/TShockAPI/Commands.cs b/TShockAPI/Commands.cs index 99cb7bbc..41b11c18 100755 --- a/TShockAPI/Commands.cs +++ b/TShockAPI/Commands.cs @@ -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; }