Subj : DDMsgReader: When viewing message headers, now shows all available mes To : GitLab note in main/sbbs From : Rob Swindell Date : Tue Apr 25 2023 21:02:51 https://gitlab.synchro.net/main/sbbs/-/merge_requests/288#note_3503 What is the purpose of this (gSMBDefsLoaded)? It doesn't appear to be used anywhere.require() already does the necessary optimization. Checking for file existence seems unnecessary and a slight performance hit. Have you seen this example design pattern in any other exec/*.js files?Just move the `require("smbdefs.js", "SMB_POLL_ANSWER");` out of the condition and you'll be good to go. --- SBBSecho 3.20-Linux * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705) .