diff options
author | wens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-03-06 19:13:40 +0800 |
---|---|---|
committer | wens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-03-06 19:13:40 +0800 |
commit | f96325e164ca940616f74b6cf5f9e50fc310d244 (patch) | |
tree | 9d6adbb8b57f17acb5b9407c6d6cda276a47c1d3 /mbbsd/bbs.c | |
parent | 3b40d54e3e296433d389330eaf883a643fbf6882 (diff) | |
download | pttbbs-f96325e164ca940616f74b6cf5f9e50fc310d244.tar pttbbs-f96325e164ca940616f74b6cf5f9e50fc310d244.tar.gz pttbbs-f96325e164ca940616f74b6cf5f9e50fc310d244.tar.bz2 pttbbs-f96325e164ca940616f74b6cf5f9e50fc310d244.tar.lz pttbbs-f96325e164ca940616f74b6cf5f9e50fc310d244.tar.xz pttbbs-f96325e164ca940616f74b6cf5f9e50fc310d244.tar.zst pttbbs-f96325e164ca940616f74b6cf5f9e50fc310d244.zip |
fix bug
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2578 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/bbs.c')
-rw-r--r-- | mbbsd/bbs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c index 4662ace5..d8da50b0 100644 --- a/mbbsd/bbs.c +++ b/mbbsd/bbs.c @@ -1034,7 +1034,7 @@ cross_post(int ent, fileheader_t * fhdr, char *direct) } if ( !((currmode & MODE_BOARD) || HAS_PERM(PERM_SYSOP)) && - (cuser.firstlogin > (now - (time4_t)bcache[currbid - 1].post_limit_regtime * 2592000) || + (cuser.firstlogin > (now - (time4_t)bcache[author - 1].post_limit_regtime * 2592000) || cuser.numlogins < ((unsigned int)(bcache[author - 1].post_limit_logins) * 10) || cuser.numposts < ((unsigned int)(bcache[author - 1].post_limit_posts) * 10)) ) { move(5, 10); |