summaryrefslogtreecommitdiffstats
path: root/mbbsd/bbs.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/bbs.c')
-rw-r--r--mbbsd/bbs.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c
index 40af1b20..44e47ad2 100644
--- a/mbbsd/bbs.c
+++ b/mbbsd/bbs.c
@@ -2172,6 +2172,17 @@ recommend(int ent, fileheader_t * fhdr, const char *direct)
return do_bid(ent, fhdr, bp, direct, ptime);
}
+#ifndef DEBUG
+ if ( !((currmode & MODE_BOARD) || HasUserPerm(PERM_SYSOP)) &&
+ (cuser.firstlogin > (now - (time4_t)bcache[currbid - 1].post_limit_regtime * 2592000) ||
+ cuser.numlogins < ((unsigned int)(bcache[currbid - 1].post_limit_logins) * 10) ||
+ cuser.numposts < ((unsigned int)(bcache[currbid - 1].post_limit_posts) * 10)) ) {
+ move(5, 10);
+ vmsg("§A¤£°÷¸ê²`³á¡I");
+ return FULLUPDATE;
+ }
+#endif
+
if((currmode & MODE_BOARD) || HasUserPerm(PERM_SYSOP))
{
/* I'm BM or SYSOP. */