• src/sbbs3/postmsg.cpp readmail.cpp readmsgs.cpp sbbs.h writemsg.cpp

    From rswindell@VERT to CVS commit on Monday, February 18, 2019 21:26:50
    src/sbbs3 postmsg.cpp 1.119 1.120 readmail.cpp 1.86 1.87 readmsgs.cpp 1.114 1.115 sbbs.h 1.503 1.504 writemsg.cpp 1.140 1.141
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv19649

    Modified Files:
    postmsg.cpp readmail.cpp readmsgs.cpp sbbs.h writemsg.cpp
    Log Message:
    sbbs_t::postmsg() and JS's bbs.post_msg() changes:
    When the WM_QUOTE mode flag is set and the 'remsg' is specified, the original message will quoted (excluding message tails, using the proper word-wrapping). If the quote file already exists before calling postmsg()/bbs.post_msg(), it will be over-written. This allows JS script to initiate reply-posts with quoted text without having to create their own quotes file. It also means there's no need to call sbbs_t::quotemsg() before calling sbbs_t::postmsg(). sbbs_t::quotemsg() now takes an smb_t* arg (stop using the sbbs_t 'global'
    smb) and now returns bool.


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