summaryrefslogtreecommitdiffstats
path: root/mbbsd/talk.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-08-30 16:25:07 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-08-30 16:25:07 +0800
commit37019e5c460e64a6dec35863d53603fbe9825ce1 (patch)
tree720a97a54076991509a13484b344f7d176973c66 /mbbsd/talk.c
parent7b2cc2e83030882b319bbf87932c7727c174adc7 (diff)
downloadpttbbs-37019e5c460e64a6dec35863d53603fbe9825ce1.tar
pttbbs-37019e5c460e64a6dec35863d53603fbe9825ce1.tar.gz
pttbbs-37019e5c460e64a6dec35863d53603fbe9825ce1.tar.bz2
pttbbs-37019e5c460e64a6dec35863d53603fbe9825ce1.tar.lz
pttbbs-37019e5c460e64a6dec35863d53603fbe9825ce1.tar.xz
pttbbs-37019e5c460e64a6dec35863d53603fbe9825ce1.tar.zst
pttbbs-37019e5c460e64a6dec35863d53603fbe9825ce1.zip
* (pwcu branch) code refine, remove unused code, and finetune alerts
git-svn-id: http://opensvn.csie.org/pttbbs/branches/pttbbs.pwcu@4796 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/talk.c')
-rw-r--r--mbbsd/talk.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/mbbsd/talk.c b/mbbsd/talk.c
index bc728b8d..da909076 100644
--- a/mbbsd/talk.c
+++ b/mbbsd/talk.c
@@ -450,16 +450,7 @@ my_query(const char *uident)
move(1, 0);
setutmpmode(TQUERY);
currutmp->destuid = tuid;
-
- // XXX some users keep complaining that query result (for numpost)
- // is not synced...
- // well, make them happy now.
- if (tuid == usernum)
- {
- // XXX there're still users asking why money is not updated...
- reload_money();
- memcpy(&muser, cuser_ref, sizeof(muser));
- }
+ reload_money();
if ((uentp = (userinfo_t *) search_ulist(tuid)))
fri_stat = friend_stat(currutmp, uentp);