• exec/load/userprops.js

    From rswindell to CVS commit on Tuesday, March 24, 2020 12:45:36
    exec/load userprops.js 1.5 1.6
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv31602

    Modified Files:
    userprops.js
    Log Message:
    Guest (G-restricted) accounts don't get persistent properties:
    - always return the default value from the get() method
    - always return true from the set() method (don't write anything)
    Thanks to the anonymous YouTube BBS reviewer for highlighting this problem (i.e. Minesweeper used the preferences of the last Guest user to run it)


  • From rswindell to CVS commit on Thursday, April 02, 2020 00:30:26
    exec/load userprops.js 1.6 1.7
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv14635

    Modified Files:
    userprops.js
    Log Message:
    If only 2 arguments are passed to userprops.set(), assume the caller won't to set the entire section/object all in one go. This is more intuitive than the (still supported) userprops.set(section, null, object) syntax.