Commit 74edb9c2 authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

Fix private message header field parsing/filtering

CID 350294
parent 831438fa
...@@ -209,6 +209,7 @@ post_t * sbbs_t::loadposts(uint32_t *posts, uint subnum, ulong ptr, long mode, u ...@@ -209,6 +209,7 @@ post_t * sbbs_t::loadposts(uint32_t *posts, uint subnum, ulong ptr, long mode, u
&& idx.to!=aliascrc && idx.from!=aliascrc && idx.to!=aliascrc && idx.from!=aliascrc
&& (useron.number!=1 || idx.to!=sysop)) && (useron.number!=1 || idx.to!=sysop))
continue; continue;
msg.idx=idx;
if(!smb_lockmsghdr(&smb,&msg)) { if(!smb_lockmsghdr(&smb,&msg)) {
if(!smb_getmsghdr(&smb,&msg)) { if(!smb_getmsghdr(&smb,&msg)) {
if(stricmp(msg.to,useron.alias) if(stricmp(msg.to,useron.alias)
......
Markdown is supported
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