Skip to content
Snippets Groups Projects
Commit 54c93570 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Move the tags prompt to *before* the locking of the message base

Thanks Mr. Executive Chicken esq. for the telephone call and bug report.
parent 41f72609
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #1558 passed
......@@ -245,6 +245,11 @@ bool sbbs_t::postmsg(uint subnum, long wm_mode, smb_t* resmb, smbmsg_t* remsg)
smb_stack(&smb,SMB_STACK_POP);
return(false);
}
if((cfg.sub[subnum]->misc&SUB_MSGTAGS)
&& (tags[0] || text[TagMessageQ][0] == 0 || !noyes(text[TagMessageQ]))) {
bputs(text[TagMessagePrompt]);
getstr(tags, sizeof(tags)-1, K_EDIT|K_LINE|K_TRIM);
}
bputs(text[WritingIndx]);
......@@ -315,11 +320,6 @@ bool sbbs_t::postmsg(uint subnum, long wm_mode, smb_t* resmb, smbmsg_t* remsg)
editor_info_to_msg(&msg, editor, charset);
if((cfg.sub[subnum]->misc&SUB_MSGTAGS)
&& (tags[0] || text[TagMessageQ][0] == 0 || !noyes(text[TagMessageQ]))) {
bputs(text[TagMessagePrompt]);
getstr(tags, sizeof(tags)-1, K_EDIT|K_LINE|K_TRIM);
}
if(tags[0])
smb_hfield_str(&msg, SMB_TAGS, tags);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment