• exec/broker.js imapservice.js exec/ircbots/ham/ham.js exec/load/bajali

    From Rob Swindell (on Debian Linux)@1:103/705 to Git commit to main/sbbs/master on Friday, April 10, 2026 21:07:44
    https://gitlab.synchro.net/main/sbbs/-/commit/7cd9602dd9b96b840608f50e
    Modified Files:
    exec/broker.js imapservice.js exec/ircbots/ham/ham.js exec/load/bajalib.js callsign.js funclib.js xjs.js webv4/lib/events/forum.js nodelist.js sbbsimsg.js
    Log Message:
    Fix SM128 incompatibilities in exec/ and webv4/ scripts

    - broker.js: Fix expression closure, replace e.toSource() with
    JSON.stringify(e) in error logging
    - imapservice.js: Wrap remaining eval("function") in parens for SM128
    - ircbots/ham/ham.js: Wrap eval("function") in parens
    - xjs.js: Replace str.toSource() with JSON.stringify(str)
    - bajalib.js: Replace fn.toSource() with fn.toString() for function
    serialization
    - funclib.js: Replace data.toSource() with data.toString()
    - callsign.js: Replace x.toSource() with JSON.stringify(x)
    - webv4 events (forum.js, nodelist.js, sbbsimsg.js): Change top-level
    const to var to prevent redeclaration errors

    Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
    --- SBBSecho 3.37-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)