Fixed a lot of database stuff.

This commit is contained in:
Lucas Nicodemus 2011-07-12 21:30:55 -06:00
parent 9596950a54
commit cbc6bd2751
3 changed files with 2 additions and 11 deletions

View file

@ -1576,7 +1576,7 @@ namespace TShockAPI
args.Player.SendMessage("You can always use the /user command to manage players. Do not just delete the auth.lck file.");
args.Player.SendMessage("Thankyou for using TShock! http://tshock.co/ & http://github.com/TShock/TShock");
FileTools.CreateFile(Path.Combine(TShock.SavePath, "auth.lck"));
System.IO.File.Delete(Path.Combine(TShock.SavePath + "authcode.txt"));
File.Delete(Path.Combine(TShock.SavePath + "authcode.txt"));
TShock.AuthToken = 0;
}