diff options
author | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2007-01-07 06:14:05 +0800 |
---|---|---|
committer | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2007-01-07 06:14:05 +0800 |
commit | 4f2361c99a9fb144998319252f8f8bd91b9601ee (patch) | |
tree | 59646b576c0117b88e011963b32a41d9d0f22a5d /mbbsd | |
parent | b2379a3e973c955c8779f854532b1de1358fa17a (diff) | |
download | pttbbs-4f2361c99a9fb144998319252f8f8bd91b9601ee.tar pttbbs-4f2361c99a9fb144998319252f8f8bd91b9601ee.tar.gz pttbbs-4f2361c99a9fb144998319252f8f8bd91b9601ee.tar.bz2 pttbbs-4f2361c99a9fb144998319252f8f8bd91b9601ee.tar.lz pttbbs-4f2361c99a9fb144998319252f8f8bd91b9601ee.tar.xz pttbbs-4f2361c99a9fb144998319252f8f8bd91b9601ee.tar.zst pttbbs-4f2361c99a9fb144998319252f8f8bd91b9601ee.zip |
If post in board with BRD_BAD attribute won't add the post number.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3469 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/bbs.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c index 88d05957..3bf72ba0 100644 --- a/mbbsd/bbs.c +++ b/mbbsd/bbs.c @@ -986,19 +986,18 @@ do_general(int isbid) if (aborted > MAX_POST_MONEY) aborted = MAX_POST_MONEY; #endif - if (strcmp(currboard, "Test") && !ifuseanony) { + if (strcmp(currboard, "Test") && !ifuseanony && + !(currbrdattr&BRD_BAD)) { prints("這是您的第 %d 篇文章。",++cuser.numposts); if(postfile.filemode&FILE_BID) outs("招標文章沒有稿酬。"); - else if(currbrdattr&BRD_BAD) - outs("違法改進中看板沒有稿酬。"); else { prints(" 稿酬 %d 銀。",aborted); demoney(aborted); } } else - outs("測試信件不列入紀錄,敬請包涵。"); + outs("不列入紀錄,敬請包涵。"); /* 回應到原作者信箱 */ |