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

readmail() now checks 'K' restriction.

parent f4cdd9b0
No related branches found
No related tags found
No related merge requests found
......@@ -56,6 +56,11 @@ void sbbs_t::readmail(uint usernumber, int which)
mail_t *mail;
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 */
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