diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-08-29 20:59:17 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-08-29 20:59:17 +0800 |
commit | e40b5f174956a652514959e367df348c0ad66d9f (patch) | |
tree | 857b4187351c304433b8f79c1f7b4a506b0132f9 /mbbsd/talk.c | |
parent | f70549636d72d203ed0f50fb66688319c3fcb878 (diff) | |
download | pttbbs-e40b5f174956a652514959e367df348c0ad66d9f.tar pttbbs-e40b5f174956a652514959e367df348c0ad66d9f.tar.gz pttbbs-e40b5f174956a652514959e367df348c0ad66d9f.tar.bz2 pttbbs-e40b5f174956a652514959e367df348c0ad66d9f.tar.lz pttbbs-e40b5f174956a652514959e367df348c0ad66d9f.tar.xz pttbbs-e40b5f174956a652514959e367df348c0ad66d9f.tar.zst pttbbs-e40b5f174956a652514959e367df348c0ad66d9f.zip |
* enable lastseen and CONST_CUSER, also use cuser_ref as "&cuser".
git-svn-id: http://opensvn.csie.org/pttbbs/branches/pttbbs.pwcu@4786 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/talk.c')
-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 f04c4ddb..068cd567 100644 --- a/mbbsd/talk.c +++ b/mbbsd/talk.c @@ -458,7 +458,7 @@ my_query(const char *uident) { // XXX there're still users asking why money is not updated... reload_money(); - memcpy(&muser, &cuser, sizeof(muser)); + memcpy(&muser, cuser_ref, sizeof(muser)); } if ((uentp = (userinfo_t *) search_ulist(tuid))) @@ -494,7 +494,7 @@ my_query(const char *uident) ? "《私人信箱》有新進信件還沒看\n" : "《私人信箱》所有信件都看過了\n"); prints("《上次上站》%-28.28s《上次故鄉》", - Cdate(&muser.lastlogin)); + Cdate(&muser.lastseen)); // print out muser.lasthost #ifdef USE_MASKED_FROMHOST if(!HasUserPerm(PERM_SYSOP|PERM_ACCOUNTS)) |