Subj : src/sbbs3/js_bbs.cpp readmsgs.cpp sbbsdefs.h To : CVS commit From : rswindell Date : Thu Apr 09 2020 02:33 am src/sbbs3 js_bbs.cpp 1.190 1.191 readmsgs.cpp 1.128 1.129 sbbsdefs.h 1.257 1.258 Update of /cvsroot/sbbs/src/sbbs3 In directory cvs:/tmp/cvs-serv6068 Modified Files: js_bbs.cpp readmsgs.cpp sbbsdefs.h Log Message: Call the listmsgs_mod (List msgs module) when the bbs.list_msgs() method is called without a "mode" specified. This uses the new default SCAN_INDEX mode. If you need the old behavior (does not invoke the listmsgs_mod), specify a different mode value (e.g. SCAN_READ). All of the mode values (other than SCAN_INDEX) will not start the list message module, but rather use the internal C++ logic. This provides an intuitive way to actually invoke the list messages module from JS without hard-coding bbs.exec("?module") into a cmd shell, for example. .