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

Commits (1)
  • Deucе's avatar
    Fix a (harmless) user creation error · 646107d2
    Deucе authored
    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.
    646107d2
......@@ -40,8 +40,10 @@ function savetime()
function player_put()
{
player.lastsaved = savetime();
player.put();
if (player.Record !== undefined) {
player.lastsaved = savetime();
player.put();
}
}
var Player_Def = [
......