summaryrefslogtreecommitdiffstats
path: root/mbbsd/mail.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/mail.c')
-rw-r--r--mbbsd/mail.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/mbbsd/mail.c b/mbbsd/mail.c
index 2b0b7160..839f618c 100644
--- a/mbbsd/mail.c
+++ b/mbbsd/mail.c
@@ -1044,9 +1044,10 @@ mail_cross_post(int ent, fileheader_t * fhdr, char *direct)
return TITLE_REDRAW;
ent = getbnum(xboard);
- if ( cuser.firstlogin > (now - (time4_t)bcache[currbid - 1].post_limit_regtime * 2592000) ||
+ if ( ((currmode & MODE_BOARD) || HAS_PERM(PERM_SYSOP)) &&
+ (cuser.firstlogin > (now - (time4_t)bcache[currbid - 1].post_limit_regtime * 2592000) ||
cuser.numlogins < ((unsigned int)(bcache[ent - 1].post_limit_logins) * 10) ||
- cuser.numposts < ((unsigned int)(bcache[ent - 1].post_limit_posts) * 10) ) {
+ cuser.numposts < ((unsigned int)(bcache[ent - 1].post_limit_posts) * 10)) ) {
move(5, 10);
vmsg("§A¤£°÷¸ê²`³á¡I");
return FULLUPDATE;