diff options
author | scw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-08-08 04:56:36 +0800 |
---|---|---|
committer | scw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-08-08 04:56:36 +0800 |
commit | 0446bc03eefc56f4222b1384b80bdaac637f22f7 (patch) | |
tree | 22bd38f0711febad89361f3bc5e1a6e07998ad20 /mbbsd | |
parent | 0adde73c09fae177c42803b49cedbf9770de72f5 (diff) | |
download | pttbbs-0446bc03eefc56f4222b1384b80bdaac637f22f7.tar pttbbs-0446bc03eefc56f4222b1384b80bdaac637f22f7.tar.gz pttbbs-0446bc03eefc56f4222b1384b80bdaac637f22f7.tar.bz2 pttbbs-0446bc03eefc56f4222b1384b80bdaac637f22f7.tar.lz pttbbs-0446bc03eefc56f4222b1384b80bdaac637f22f7.tar.xz pttbbs-0446bc03eefc56f4222b1384b80bdaac637f22f7.tar.zst pttbbs-0446bc03eefc56f4222b1384b80bdaac637f22f7.zip |
Fix talk requesting id display problem.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3005 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/talk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/talk.c b/mbbsd/talk.c index 3d5b7cbf..6c1d3362 100644 --- a/mbbsd/talk.c +++ b/mbbsd/talk.c @@ -2976,8 +2976,6 @@ talkreply(void) void (*sig_pipe_handle)(int); uip = &SHM->uinfo[currutmp->destuip]; - snprintf(page_requestor, sizeof(page_requestor), - "%s (%s)", uip->userid, uip->nickname); currutmp->destuid = uip->uid; currstat = REPLY; /* 避免出現動畫 */ @@ -3007,6 +3005,8 @@ talkreply(void) prints(" (1) %s?先拿100銀兩來" " (2) %s?先拿1000銀兩來..\n\n", sig_des[sig], sig_des[sig]); + snprintf(page_requestor, sizeof(page_requestor), + "%s (%s)", uip->userid, uip->nickname); getuser(uip->userid, &xuser); currutmp->msgs[0].pid = uip->pid; strlcpy(currutmp->msgs[0].userid, uip->userid, sizeof(currutmp->msgs[0].userid)); |