From 4f7966520c2a9909be561e1a3070e24544c253bc Mon Sep 17 00:00:00 2001 From: victor Date: Mon, 18 Aug 2003 12:08:25 +0000 Subject: do not allow querying money of article git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1108 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/bbs.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'mbbsd') 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(); -- cgit v1.2.3