Commit eb3d59dc authored by rswindell's avatar rswindell
Browse files

If DeletePostQ text.dat string is blank, default to delete msg without prompt.

parent 09082f41
......@@ -977,7 +977,7 @@ int sbbs_t::scanposts(uint subnum, long mode, const char *find)
SAFEPRINTF(str, text[DeleteTextFileQ], "Poll");
SAFEPRINTF2(str,text[DeletePostQ], smb.curmsg+1, msghdr_field(&msg, msg.subj));
if(!(msg.hdr.attr&MSG_DELETE) && noyes(str)) {
if(!(msg.hdr.attr&MSG_DELETE) && str[0] && noyes(str)) {
domsg = false;
Supports Markdown
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