diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-08-30 18:08:49 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-08-30 18:08:49 +0800 |
commit | 5f589c904a3be5b6eaa5abd57052b481d6a24c18 (patch) | |
tree | b58ee25144de9400bc84f164bbb1530ce44a3bee /mbbsd/chat.c | |
parent | 19e36427e3fdfebc319fd7e0a92054ea9db85fd1 (diff) | |
download | pttbbs-5f589c904a3be5b6eaa5abd57052b481d6a24c18.tar pttbbs-5f589c904a3be5b6eaa5abd57052b481d6a24c18.tar.gz pttbbs-5f589c904a3be5b6eaa5abd57052b481d6a24c18.tar.bz2 pttbbs-5f589c904a3be5b6eaa5abd57052b481d6a24c18.tar.lz pttbbs-5f589c904a3be5b6eaa5abd57052b481d6a24c18.tar.xz pttbbs-5f589c904a3be5b6eaa5abd57052b481d6a24c18.tar.zst pttbbs-5f589c904a3be5b6eaa5abd57052b481d6a24c18.zip |
* fix numlogindays
git-svn-id: http://opensvn.csie.org/pttbbs/branches/pttbbs.pwcu@4799 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/chat.c')
-rw-r--r-- | mbbsd/chat.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mbbsd/chat.c b/mbbsd/chat.c index f51524ff..9c73c39d 100644 --- a/mbbsd/chat.c +++ b/mbbsd/chat.c @@ -204,14 +204,14 @@ chat_query(char *arg) char buf[ANSILINELEN], *ptr; FILE *fp; - snprintf(buf, sizeof(buf), "%s(%s) 共上站 %d 次,發表過 %d 篇文章", + snprintf(buf, sizeof(buf), "%s(%s) 上站資歷 %d 點,發表過 %d 篇文章", xuser.userid, xuser.nickname, - xuser.numlogins, xuser.numposts); + xuser.numlogindays, xuser.numposts); printchatline(buf); snprintf(buf, sizeof(buf), "最近(%s)從[%s]上站", - Cdate(&xuser.lastseen), + Cdate(xuser.lastseen ? &xuser.lastseen : &xuser.lastlogin), (xuser.lasthost[0] ? xuser.lasthost : "(不詳)")); printchatline(buf); |