diff options
Diffstat (limited to 'mbbsd/mail.c')
-rw-r--r-- | mbbsd/mail.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/mbbsd/mail.c b/mbbsd/mail.c index fe5b9704..f5426403 100644 --- a/mbbsd/mail.c +++ b/mbbsd/mail.c @@ -1525,11 +1525,14 @@ mail_man(void) int stat0 = currstat; // TODO if someday we put things in user man...? + sethomeman(buf, cuser.userid); + + // if user already has man directory or permission, + // allow entering mail-man folder. - if (!HasUserPerm(PERM_MAILLIMIT)) + if (!dashd(buf) && !HasUserPerm(PERM_MAILLIMIT)) return DONOTHING; - sethomeman(buf, cuser.userid); snprintf(buf1, sizeof(buf1), "%s ªº«H¥ó§¨", cuser.userid); a_menu(buf1, buf, HasUserPerm(PERM_MAILLIMIT) ? 1 : 0, 0, NULL); currutmp->mode = mode0; |