From a07e0b87426c4906af8b374772cdeb8223c8967f Mon Sep 17 00:00:00 2001 From: piaip Date: Wed, 15 Jul 2009 13:32:34 +0000 Subject: * make the money in query_self realtime git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4740 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/talk.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'mbbsd') diff --git a/mbbsd/talk.c b/mbbsd/talk.c index 5851dcdf..f1a884d7 100644 --- a/mbbsd/talk.c +++ b/mbbsd/talk.c @@ -451,10 +451,15 @@ my_query(const char *uident) setutmpmode(TQUERY); currutmp->destuid = tuid; - // XXX some users keep complaining that query result is not synced... + // 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, sizeof(muser)); + } if ((uentp = (userinfo_t *) search_ulist(tuid))) fri_stat = friend_stat(currutmp, uentp); -- cgit v1.2.3