summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pttbbs/mbbsd/mail.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/pttbbs/mbbsd/mail.c b/pttbbs/mbbsd/mail.c
index 47183f12..6b4e566a 100644
--- a/pttbbs/mbbsd/mail.c
+++ b/pttbbs/mbbsd/mail.c
@@ -1107,7 +1107,8 @@ multi_reply(int ent, fileheader_t * fhdr, const char *direct)
int
mail_list(void)
{
- if (!HasBasicUserPerm(PERM_LOGINOK))
+ if (!HasBasicUserPerm(PERM_LOGINOK) ||
+ HasUserPerm(PERM_VIOLATELAW))
return DONOTHING;
vs_hdr("¸s²Õ§@·~");