diff --git a/src/sbbs3/readmsgs.cpp b/src/sbbs3/readmsgs.cpp index a7ecdbd9a775839264d37caf2773239dae4aa66f..e9a46c83de2ed7bf9e4d3046a8cdcc0c23114d29 100644 --- a/src/sbbs3/readmsgs.cpp +++ b/src/sbbs3/readmsgs.cpp @@ -710,7 +710,8 @@ int sbbs_t::scanposts(int subnum, int mode, const char *find) subscan[subnum].ptr=post[smb.curmsg].idx.number; } - if(sub_op(subnum) && (msg.hdr.attr&(MSG_MODERATED|MSG_VALIDATED)) == MSG_MODERATED) { + if(sub_op(subnum) && (msg.hdr.attr&(MSG_MODERATED|MSG_VALIDATED)) == MSG_MODERATED + && !(msg.hdr.attr & MSG_DELETE)) { uint16_t msg_attr = msg.hdr.attr; SAFEPRINTF2(str,text[ValidatePostQ],smb.curmsg+1,msghdr_field(&msg, msg.subj)); if(!noyes(str))