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

readmail() now checks 'K' restriction.

parent f4cdd9b0
Branches
Tags
No related merge requests found
...@@ -56,6 +56,11 @@ void sbbs_t::readmail(uint usernumber, int which) ...@@ -56,6 +56,11 @@ void sbbs_t::readmail(uint usernumber, int which)
mail_t *mail; mail_t *mail;
smbmsg_t msg; smbmsg_t msg;
if(which==MAIL_SENT && useron.rest&FLAG('K')) {
bputs(text[R_ReadSentMail]);
return;
}
msg.total_hfields=0; /* init to NULL, cause not allocated yet */ msg.total_hfields=0; /* init to NULL, cause not allocated yet */
fd.dir=cfg.total_dirs+1; /* temp dir for file attachments */ fd.dir=cfg.total_dirs+1; /* temp dir for file attachments */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment