summaryrefslogtreecommitdiffstats
path: root/mbbsd/talk.c
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-05-25 02:42:51 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-05-25 02:42:51 +0800
commitddc3595ab1076fdf1509686f20c4b106647f83d7 (patch)
treed4cd4afcde49d792d7f01a353ad80accb1085011 /mbbsd/talk.c
parent4aaaa108cec2c79127e4a49336fc5e159ae823c8 (diff)
downloadpttbbs-ddc3595ab1076fdf1509686f20c4b106647f83d7.tar
pttbbs-ddc3595ab1076fdf1509686f20c4b106647f83d7.tar.gz
pttbbs-ddc3595ab1076fdf1509686f20c4b106647f83d7.tar.bz2
pttbbs-ddc3595ab1076fdf1509686f20c4b106647f83d7.tar.lz
pttbbs-ddc3595ab1076fdf1509686f20c4b106647f83d7.tar.xz
pttbbs-ddc3595ab1076fdf1509686f20c4b106647f83d7.tar.zst
pttbbs-ddc3595ab1076fdf1509686f20c4b106647f83d7.zip
*** empty log message ***
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@205 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/talk.c')
-rw-r--r--mbbsd/talk.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/mbbsd/talk.c b/mbbsd/talk.c
index 1792c772..76069b61 100644
--- a/mbbsd/talk.c
+++ b/mbbsd/talk.c
@@ -1,4 +1,4 @@
-/* $Id: talk.c,v 1.39 2002/05/24 16:45:25 in2 Exp $ */
+/* $Id: talk.c,v 1.40 2002/05/24 18:42:51 ptt Exp $ */
#include <stdio.h>
#include <string.h>
#include <errno.h>
@@ -47,7 +47,7 @@ extern boardheader_t *bcache;
extern userec_t cuser;
extern userec_t xuser;
extern time_t now;
-
+extern int currbid;
static char *IdleTypeTable[] = {
"偶在花呆啦", "情人來電", "覓食中", "拜見周公", "假死狀態", "我在思考"
};
@@ -1657,8 +1657,7 @@ static void draw_pickup(int drawall, pickup_t *pickup, int pickup_way,
"\033[33m與我為友:%-3d\033[36m板友:%-4d\033[31m壞人:"
"%-2d\033[m\n",
msg_pickup_way[pickup_way], utmpshm->number,
- //ifh_number, hfm_number, bfriends_number, irh_number,
- myfriend, friendme, 0, 0);
+ myfriend, friendme, bcache[currbid-1].nuser, 0);
move(3, 0);
for( i = 0, ch = page * 20 + 1 ; i < MAXPICKUP ; ++i, ++ch ){