• rswindell's avatar
    Call the listmsgs_mod (List msgs module) when the bbs.list_msgs() method · 828dea3f
    rswindell authored
    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.
    828dea3f
readmsgs.cpp 48.9 KB