Commit 882b24c3 authored by rswindell's avatar rswindell
Browse files

Enhancement for Nightfox: set smb.subnum before launching message editor, thus

allowing external JS message editors to accurately use the bbs.smb_sub*
properties to get information about the current sub-board being posted to.
parent dab75b00
......@@ -409,6 +409,8 @@ bool sbbs_t::writemsg(const char *fname, const char *top, char *title, long mode
return(false);
}
smb.subnum = subnum; /* Allow JS msgeditors to use bbs.smb_sub* */
if(console&CON_RAW_IN) {
bprintf(text[EnterMsgNowRaw]
,(ulong)cfg.level_linespermsg[useron_level]*MAX_LINE_LEN);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment