Forgot to close the StreamWriter.
This commit is contained in:
parent
03927f7d72
commit
6909810519
2 changed files with 5 additions and 0 deletions
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,10 @@
|
|||
For the full list of changes, please take a look at GitHub:
|
||||
https://github.com/TShock/TShock/commits/master
|
||||
|
||||
Changes in API release 1.8.0.0:
|
||||
- Added permissions system for managing different levels of admins
|
||||
- Fixed spawnrate and max spawns
|
||||
|
||||
Changes in API release 1.6.0.0:
|
||||
- Added spawn protection
|
||||
- Fixed numerous bugs
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue