Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Main
Synchronet
Commits
eb3c93c1
Commit
eb3c93c1
authored
Feb 06, 2002
by
rswindell
Browse files
readmail() now checks 'K' restriction.
parent
f4cdd9b0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
src/sbbs3/readmail.cpp
src/sbbs3/readmail.cpp
+5
-0
No files found.
src/sbbs3/readmail.cpp
View file @
eb3c93c1
...
...
@@ -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 */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment