• src/sbbs3/data.cpp js_bbs

    From rswindell@VERT to CVS commit on Sat Jun 9 21:53:00 2018
    src/sbbs3 data.cpp 1.30 1.31 js_bbs.cpp 1.163 1.164 readmail.cpp 1.77 1.78 sbbs.h 1.480 1.481
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv1377

    Modified Files:
    data.cpp js_bbs.cpp readmail.cpp sbbs.h
    Log Message:
    JS bbs object changes:
    - finduser() method no longer prints "Unknown user" upon failure (the calling
    script can do this if/when it wants).
    - read_mail() method now accepts an optional 3rd argumnet (loadmail_mode)
    which may be used to load *only* un-read mail (for example), see LM_* in
    sbbsdefs.js

    Pass the lm_mode as a 4th argument to any readmail mod (if one is installed) - this correlates with the LM_* mode flag values (0 is normal/usual).

    File attachments can also be in a file/####.out directory (e.g. outbound Internet email attachments), so try deleting from there too when deleting
    mail with attachments.


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