Skip to content
Snippets Groups Projects
Commit 41ddae68 authored by deuce's avatar deuce
Browse files

Don't redisplay message after validating or deleting.

parent 823f94a9
No related branches found
No related tags found
No related merge requests found
......@@ -674,6 +674,13 @@ int sbbs_t::scanposts(uint subnum, long mode, const char *find)
}
smb_unlocksmbhdr(&smb);
}
if(msg_addr & MSG_DELETE) {
if(!(cfg.sys_misc&SM_SYSVDELM))
domsg=0; // If you can view deleted messages, don't redisplay.
}
else {
domsg=0; // If you just validated, don't redisplay.
}
if(post)
free(post);
post=loadposts(&smb.msgs,subnum,0,lp,&unvalidated);
......
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