Skip to content
Snippets Groups Projects
Commit b9d4ba32 authored by rswindell's avatar rswindell
Browse files

Bugfix: which quit scanning sub if deleted next to last message.

parent a154e2a9
No related branches found
No related tags found
No related merge requests found
......@@ -739,7 +739,7 @@ int sbbs_t::scanposts(uint subnum, long mode, char *find)
&& sub_op(subnum)))
&& smb.curmsg<smb.msgs-1)
smb.curmsg++;
if(smb.curmsg>=smb.msgs-1)
if(smb.curmsg>=smb.msgs)
done=1;
break;
case 'E': /* edit last post */
......
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