diff options
author | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-08-18 20:08:25 +0800 |
---|---|---|
committer | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-08-18 20:08:25 +0800 |
commit | 4f7966520c2a9909be561e1a3070e24544c253bc (patch) | |
tree | 8b2ef44ffbcd2dfd8c9b722e642e586291ef746b | |
parent | d6ec2525926e9cbd3afc4b06ccd0300b05ddb301 (diff) | |
download | pttbbs-4f7966520c2a9909be561e1a3070e24544c253bc.tar pttbbs-4f7966520c2a9909be561e1a3070e24544c253bc.tar.gz pttbbs-4f7966520c2a9909be561e1a3070e24544c253bc.tar.bz2 pttbbs-4f7966520c2a9909be561e1a3070e24544c253bc.tar.lz pttbbs-4f7966520c2a9909be561e1a3070e24544c253bc.tar.xz pttbbs-4f7966520c2a9909be561e1a3070e24544c253bc.tar.zst pttbbs-4f7966520c2a9909be561e1a3070e24544c253bc.zip |
do not allow querying money of article
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1108 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | mbbsd/bbs.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c index 3aaae9c2..50a5eee3 100644 --- a/mbbsd/bbs.c +++ b/mbbsd/bbs.c @@ -1,4 +1,4 @@ -/* $Id: bbs.c,v 1.104 2003/07/20 00:55:34 in2 Exp $ */ +/* $Id$ */ #include "bbs.h" static int recommend(int ent, fileheader_t * fhdr, char *direct); @@ -1488,6 +1488,10 @@ static int view_postmoney(int ent, fileheader_t * fhdr, char *direct) { move(b_lines - 1, 0); + if(currmode & MODE_SELECT){ + vmsg("請在離開目前的選擇模式再查詢"); + return FULLUPDATE; + } clrtoeol(); prints("這一篇文章值 %d 銀", fhdr->money); refresh(); |