Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, for more info) to build successfully.

Commit 646107d2 authored by Deucе's avatar Deucе 👌🏾

Fix a (harmless) user creation error

When a players map is set, it automatically triggers a player record
write.  When a new player is being created, the map is set before
the player is added via @addchar.

This attempted to write record number undefined in the player file,
which threw an exception.  Since exceptions are being caught, logged,
and ignored, this did not cause a problem, but did log an error when
it wasn't necessary.
parent d0a094b2
......@@ -40,8 +40,10 @@ function savetime()
function player_put()
player.lastsaved = savetime();
if (player.Record !== undefined) {
player.lastsaved = savetime();
var Player_Def = [
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment