From f271d10c7bcb680417e9535eb55d91d1c9727cc9 Mon Sep 17 00:00:00 2001 From: Lucas Nicodemus Date: Thu, 14 Jul 2011 13:55:39 -0600 Subject: [PATCH] Path combine fail fixed for the auth code system. --- TShockAPI/TShock.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TShockAPI/TShock.cs b/TShockAPI/TShock.cs index cfb23e05..d441a704 100755 --- a/TShockAPI/TShock.cs +++ b/TShockAPI/TShock.cs @@ -295,7 +295,7 @@ namespace TShockAPI Console.WriteLine("TShock Notice: To become SuperAdmin, join the game and type /auth " + AuthToken); Console.WriteLine("This token will display until disabled by verification. (/auth-verify)"); Console.ForegroundColor = ConsoleColor.Gray; - FileTools.CreateFile(Path.Combine(SavePath + "authcode.txt")); + FileTools.CreateFile(Path.Combine(SavePath, "authcode.txt")); TextWriter tw = new StreamWriter(Path.Combine(SavePath, "authcode.txt")); tw.WriteLine(AuthToken); tw.Close();