Subj : exec/tests/global/except.js rtypes.js src/sbbs3/js_global.c To : Git commit to main/sbbs/master From : Rob Swindell (on Debian Linux) Date : Sat Jan 18 2025 17:00:56 https://gitlab.synchro.net/main/sbbs/-/commit/2477f210a3950cdbd2fea311 Modified Files: exec/tests/global/except.js rtypes.js src/sbbs3/js_global.c Log Message: Throw fewer exceptions when passed null or undefined as parameters Some scripts (e.g. addfiles.js) depend on the previous (undocumented) behavior for some methods, e.g. lfexpand(undefined) would return undefined. So for global functions that are expected to return a modified version of the value passed (usually a string), return null or undefined when passed null or undefined. Backward compatibility is more important than consistency in this case. :-( --- þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net .