• src/sbbs3/js_internal.c

    From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Thursday, April 24, 2025 12:39:23
    https://gitlab.synchro.net/main/sbbs/-/commit/9c17fffd088ca6e57825c94b
    Modified Files:
    src/sbbs3/js_internal.c
    Log Message:
    js.exec() will now execute scripts from the configured mods and exec dirs

    ... if not passed a full path and the script file doesn't exist in the startup_dir (if specified) or the same directory the calling script was executed from (js.exec_dir).

    This should fix the reported issue when trying to use the "spy" command from
    a cmdshell script run from the mods dir:

    !JavaScript /sbbs/exec/str_cmds.js line 388: Error: Script file (mqtt_spy.js) does not exist

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