-
- Downloads
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.
Showing
- src/sbbs3/postmsg.cpp 23 additions, 14 deletionssrc/sbbs3/postmsg.cpp
- src/sbbs3/readmail.cpp 1 addition, 1 deletionsrc/sbbs3/readmail.cpp
- src/sbbs3/readmsgs.cpp 1 addition, 2 deletionssrc/sbbs3/readmsgs.cpp
- src/sbbs3/sbbs.h 1 addition, 1 deletionsrc/sbbs3/sbbs.h
- src/sbbs3/writemsg.cpp 29 additions, 17 deletionssrc/sbbs3/writemsg.cpp
Loading
Please register or sign in to comment