summaryrefslogtreecommitdiffstats
path: root/util/xchatd.c
diff options
context:
space:
mode:
authorvictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-07-04 14:52:14 +0800
committervictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-07-04 14:52:14 +0800
commit7204388338e4e7445afd399a2e1c4947f86fbce3 (patch)
treeacb927d31a747670a3ad1af593d537046581cb45 /util/xchatd.c
parentff7b952f0b6628d4843bd0cf4ceb8e9efd7798aa (diff)
downloadpttbbs-7204388338e4e7445afd399a2e1c4947f86fbce3.tar
pttbbs-7204388338e4e7445afd399a2e1c4947f86fbce3.tar.gz
pttbbs-7204388338e4e7445afd399a2e1c4947f86fbce3.tar.bz2
pttbbs-7204388338e4e7445afd399a2e1c4947f86fbce3.tar.lz
pttbbs-7204388338e4e7445afd399a2e1c4947f86fbce3.tar.xz
pttbbs-7204388338e4e7445afd399a2e1c4947f86fbce3.tar.zst
pttbbs-7204388338e4e7445afd399a2e1c4947f86fbce3.zip
apply rafan's (rafan.bbs@ptt2.cc) big patch to s/username/nickname/g
turn off FOREIGN_REG by default in sample/pttbbs.conf git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2887 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'util/xchatd.c')
-rw-r--r--util/xchatd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/xchatd.c b/util/xchatd.c
index d0b4cad4..8e2373b5 100644
--- a/util/xchatd.c
+++ b/util/xchatd.c
@@ -735,7 +735,7 @@ chat_query(ChatUser *cu, char *msg)
if (acct_load(&xuser, msg) >= 0)
{
snprintf(chatbuf, sizeof(chatbuf), "%s(%s) 共上站 %d 次,文章 %d 篇",
- xuser.userid, xuser.username, xuser.numlogins, xuser.numposts);
+ xuser.userid, xuser.nickname, xuser.numlogins, xuser.numposts);
send_to_user(cu, chatbuf, 0, MSG_MESSAGE);
snprintf(chatbuf, sizeof(chatbuf), "最近(%s)從(%s)上站", Ctime(&xuser.lastlogin),