diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-06-23 22:35:18 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-06-23 22:35:18 +0800 |
commit | dbe4efa5777ce48d99018eff680fc279e8ccee06 (patch) | |
tree | 39afedca65a06c60dc6774e47088c11eaa14a9c2 /mbbsd/bbs.c | |
parent | 810217595d84a37ab442dc498d1ca8828ad20f21 (diff) | |
download | pttbbs-dbe4efa5777ce48d99018eff680fc279e8ccee06.tar pttbbs-dbe4efa5777ce48d99018eff680fc279e8ccee06.tar.gz pttbbs-dbe4efa5777ce48d99018eff680fc279e8ccee06.tar.bz2 pttbbs-dbe4efa5777ce48d99018eff680fc279e8ccee06.tar.lz pttbbs-dbe4efa5777ce48d99018eff680fc279e8ccee06.tar.xz pttbbs-dbe4efa5777ce48d99018eff680fc279e8ccee06.tar.zst pttbbs-dbe4efa5777ce48d99018eff680fc279e8ccee06.zip |
* move money calibration from bbs.c to edit.c
* fix: previous entropy limitation would half max post money
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4695 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/bbs.c')
-rw-r--r-- | mbbsd/bbs.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c index 04b73def..3b1a4eb9 100644 --- a/mbbsd/bbs.c +++ b/mbbsd/bbs.c @@ -1108,11 +1108,9 @@ do_general(int isbid) // money verification #ifdef MAX_POST_MONEY - if (money > MAX_POST_MONEY * 2) + if (money > MAX_POST_MONEY) money = MAX_POST_MONEY; - else #endif - money /= 2; // drop money & numposts for free boards // including: special boards (e.g. TEST, ALLPOST), bad boards, no BM boards |