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>
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net