summaryrefslogtreecommitdiffstats
path: root/mbbsd/talk.c
diff options
context:
space:
mode:
authorlwms <lwms@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-05-02 14:41:46 +0800
committerlwms <lwms@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-05-02 14:41:46 +0800
commit92cbeda4973bec116ba5f74d524e40a13313f42f (patch)
treef1f76b52200e90fe38c80406e57c9dc4c9770829 /mbbsd/talk.c
parent2a15c1580f415b045fe126ccad26b09b4945d090 (diff)
downloadpttbbs-92cbeda4973bec116ba5f74d524e40a13313f42f.tar
pttbbs-92cbeda4973bec116ba5f74d524e40a13313f42f.tar.gz
pttbbs-92cbeda4973bec116ba5f74d524e40a13313f42f.tar.bz2
pttbbs-92cbeda4973bec116ba5f74d524e40a13313f42f.tar.lz
pttbbs-92cbeda4973bec116ba5f74d524e40a13313f42f.tar.xz
pttbbs-92cbeda4973bec116ba5f74d524e40a13313f42f.tar.zst
pttbbs-92cbeda4973bec116ba5f74d524e40a13313f42f.zip
*** empty log message ***
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@142 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/talk.c')
-rw-r--r--mbbsd/talk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/talk.c b/mbbsd/talk.c
index 643a3d86..ddedb827 100644
--- a/mbbsd/talk.c
+++ b/mbbsd/talk.c
@@ -1,4 +1,4 @@
-/* $Id: talk.c,v 1.25 2002/05/02 06:27:40 lwms Exp $ */
+/* $Id: talk.c,v 1.26 2002/05/02 06:41:46 lwms Exp $ */
#include <stdio.h>
#include <string.h>
#include <errno.h>
@@ -2094,7 +2094,7 @@ static void pickup_user(void)
if (getdata(b_lines - 1, 0, "[»È¦æÂà±b]:", genbuf, 7,
LCECHO)){
clrtoeol();
- if ((ch = atoi(genbuf)) <= 0)
+ if ((ch = atoi(genbuf)) <= 0 || ch == give_tax(ch) )
break;
reload_money();
if (ch > cuser.money)