• src/sbbs3/data.cpp

    From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Wed Mar 11 15:36:29 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/278663d85dd60177e7d5aa66
    Modified Files:
    src/sbbs3/data.cpp
    Log Message:
    The "Expire when out of time" feature should not apply to user not logged-in

    Resolve errors reported by plt via IRC when SCFG->System->Security->
    User Expires When Out-of-time is set to "Yes" and a client runs out of time before being able to successfully login. Example:

    term Node 1 !ERROR in data_ovl.cpp line 150 (sbbs_t::putuserdec32) writing "user.tab" access=-100
    term Node 1 !ERROR in data_ovl.cpp line 130 (sbbs_t::putuserflags) writing "user.tab" access=-100
    term Node 1 !ERROR in data_ovl.cpp line 120 (sbbs_t::putuserdatetime) writing "user.tab" access=-100
    term Node 1 !ERROR in data_ovl.cpp line 130 (sbbs_t::putuserflags) writing "user.tab" access=-100

    The logged error (USER_INVALID_ARG = -100) is because the useron.number is 0 at this stage. The cause was because there was no user authenticated or logged-in.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net