• exec/load/modopts.js

    From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Friday, April 25, 2025 12:04:41
    https://gitlab.synchro.net/main/sbbs/-/commit/2f23d9d85376eff1a966ad6e
    Modified Files:
    exec/load/modopts.js
    Log Message:
    Load ctrl/modopts/module-suffix.ini instead of ctrl/modopts/module:suffix.ini

    Colons are problematic in Windows filenames, so convert colon to dash, if provided in the modname (e.g. qnet-ftp:qwk-id).

    Also noticed the default option value didn't work for ctrl/modopts/*.ini files (when requesting one specific property) - fixed that.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Friday, April 25, 2025 12:38:54
    https://gitlab.synchro.net/main/sbbs/-/commit/0e9f377b34afad3fe1a08353
    Modified Files:
    exec/load/modopts.js
    Log Message:
    Support legacy scripts (e.g. webInit.js) thtat just load('modopts.js')

    without passing any parameters (just returns null)

    Throw an exception in get_mod_options() if passed a falsey modname.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Friday, April 25, 2025 14:18:25
    https://gitlab.synchro.net/main/sbbs/-/commit/1919c9866739b2ed7559153b
    Modified Files:
    exec/load/modopts.js
    Log Message:
    Throw a different exception if get_mod_options() is passed a non-string modname

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