Forgot to close the StreamWriter.

This commit is contained in:
Shank 2011-06-05 15:05:11 -06:00
parent 03927f7d72
commit 6909810519
2 changed files with 5 additions and 0 deletions

View file

@ -331,6 +331,7 @@ namespace TShockAPI
tw.WriteLine(Tools.GetRealIP(Convert.ToString(Netplay.serverSock[args.PlayerID].tcpClient.Client.RemoteEndPoint)) + " superadmin");
Tools.SendMessage(args.PlayerID, "SuperAdmin authenticated. Please re-connect using the same IP.");
ConfigurationManager.authToken = 0;
tw.Close();
}
}