Read hashes are now converted to uppercase when checked to preserve computability with php's sha512 hashing.
This commit is contained in:
parent
01c90dd269
commit
34d39bd8d3
2 changed files with 12 additions and 2 deletions
|
|
@ -279,6 +279,9 @@ namespace TShockAPI
|
|||
handler.Handled = true;
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
||||
if (!FileTools.OnWhitelist(player.IP))
|
||||
{
|
||||
Tools.ForceKick(player, "Not on whitelist.");
|
||||
|
|
@ -551,7 +554,7 @@ namespace TShockAPI
|
|||
|
||||
private void OnSaveWorld(bool resettime, HandledEventArgs e)
|
||||
{
|
||||
Tools.Broadcast("Saving world, might lag.", Color.Red);
|
||||
Tools.Broadcast("Saving world. Momentary lag might result from this.", Color.Red);
|
||||
Thread SaveWorld = new Thread(Tools.SaveWorld);
|
||||
SaveWorld.Start();
|
||||
e.Handled = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue