diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2007-12-15 15:23:22 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2007-12-15 15:23:22 +0800 |
commit | 7b0a4e6fca7e47c4c25ff961b21f54dac5defd79 (patch) | |
tree | 92b30fb77db5e414598ad494cb4aa49162d8a4c9 /mbbsd/bbs.c | |
parent | 1747fb8d710780e60d9af73723da21a80197137b (diff) | |
download | pttbbs-7b0a4e6fca7e47c4c25ff961b21f54dac5defd79.tar pttbbs-7b0a4e6fca7e47c4c25ff961b21f54dac5defd79.tar.gz pttbbs-7b0a4e6fca7e47c4c25ff961b21f54dac5defd79.tar.bz2 pttbbs-7b0a4e6fca7e47c4c25ff961b21f54dac5defd79.tar.lz pttbbs-7b0a4e6fca7e47c4c25ff961b21f54dac5defd79.tar.xz pttbbs-7b0a4e6fca7e47c4c25ff961b21f54dac5defd79.tar.zst pttbbs-7b0a4e6fca7e47c4c25ff961b21f54dac5defd79.zip |
- enable cross-post requirement if AUTO_CPLOG on
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3684 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/bbs.c')
-rw-r--r-- | mbbsd/bbs.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c index e83a5d62..6763dcda 100644 --- a/mbbsd/bbs.c +++ b/mbbsd/bbs.c @@ -836,7 +836,6 @@ do_general(int isbid) #ifndef DEBUG if ( !CheckPostRestriction(currbid) ) { - move(5, 10); // why move (5, 10)? vmsg("你不夠資深喔! (可按大寫 I 查看限制)"); return FULLUPDATE; } @@ -1601,7 +1600,7 @@ cross_post(int ent, fileheader_t * fhdr, const char *direct) if (bp && (bp->brdattr & BRD_VOTEBOARD) ) return FULLUPDATE; -#if 0 // def USE_AUTOCPLOG +#ifdef USE_AUTOCPLOG // anti-crosspost spammers // // some spammers try to cross-post to other boards without @@ -1610,10 +1609,6 @@ cross_post(int ent, fileheader_t * fhdr, const char *direct) // (3) flood original post // You must have post permission on current board // - // Hoever, some announce boards does not allow post and user - // may want to cross-post. So let's make it "each login can - // only cross-post without post permission once". - // if( (bp->brdattr & BRD_CPLOG) && (!CheckPostPerm() || !CheckPostRestriction(currbid))) { |