diff options
author | wens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-03-03 23:44:59 +0800 |
---|---|---|
committer | wens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-03-03 23:44:59 +0800 |
commit | 4ace87cc269c13676c0a6ebbe40a458670e88b80 (patch) | |
tree | 830bf75098282c15db2641a0988c76ff190c8b34 /mbbsd/bbs.c | |
parent | 0d2cdc827cdad0928646498d9105b951eaf4995f (diff) | |
download | pttbbs-4ace87cc269c13676c0a6ebbe40a458670e88b80.tar pttbbs-4ace87cc269c13676c0a6ebbe40a458670e88b80.tar.gz pttbbs-4ace87cc269c13676c0a6ebbe40a458670e88b80.tar.bz2 pttbbs-4ace87cc269c13676c0a6ebbe40a458670e88b80.tar.lz pttbbs-4ace87cc269c13676c0a6ebbe40a458670e88b80.tar.xz pttbbs-4ace87cc269c13676c0a6ebbe40a458670e88b80.tar.zst pttbbs-4ace87cc269c13676c0a6ebbe40a458670e88b80.zip |
fix last commit
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2575 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/bbs.c')
-rw-r--r-- | mbbsd/bbs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c index 37537e3f..4662ace5 100644 --- a/mbbsd/bbs.c +++ b/mbbsd/bbs.c @@ -543,7 +543,7 @@ do_general(int isbid) } #ifndef DEBUG - if ( ((currmode & MODE_BOARD) || HAS_PERM(PERM_SYSOP)) && + 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[currbid - 1].post_limit_logins) * 10) || cuser.numposts < ((unsigned int)(bcache[currbid - 1].post_limit_posts) * 10)) ) { @@ -805,7 +805,7 @@ do_generalboardreply(fileheader_t * fhdr) { char genbuf[3]; - if ( ((currmode & MODE_BOARD) || HAS_PERM(PERM_SYSOP)) && + 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[currbid - 1].post_limit_logins) * 10) || cuser.numposts < ((unsigned int)(bcache[currbid - 1].post_limit_posts) * 10)) ) { @@ -1033,7 +1033,7 @@ cross_post(int ent, fileheader_t * fhdr, char *direct) postrecord.checksum[0] = ent; } - if ( ((currmode & MODE_BOARD) || HAS_PERM(PERM_SYSOP)) && + 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[author - 1].post_limit_logins) * 10) || cuser.numposts < ((unsigned int)(bcache[author - 1].post_limit_posts) * 10)) ) { |