summaryrefslogtreecommitdiffstats
path: root/mbbsd/gomo.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 /mbbsd/gomo.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 'mbbsd/gomo.c')
-rw-r--r--mbbsd/gomo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/gomo.c b/mbbsd/gomo.c
index 52d7bbf3..af7fb3c8 100644
--- a/mbbsd/gomo.c
+++ b/mbbsd/gomo.c
@@ -446,7 +446,7 @@ gomoku(int fd)
switch (line - 2) {
case 0: prints("<代號> %s", cuser.userid); break;
- case 1: prints("<暱稱> %.16s", cuser.username); break;
+ case 1: prints("<暱稱> %.16s", cuser.nickname); break;
case 2: prints("<上站> %d", cuser.numlogins); break;
case 3: prints("<文章> %d", cuser.numposts); break;
case 4: prints("<職位> %-4s %s", country, level); break;
@@ -493,7 +493,7 @@ gomoku(int fd)
move(line, 37);
switch (line - 11) {
case 0: prints("<代號> %-16.16s ", xuser.userid); break;
- case 1: prints("<暱稱> %-16.16s ", xuser.username); break;
+ case 1: prints("<暱稱> %-16.16s ", xuser.nickname); break;
case 2: prints("<上站> %-16d ", xuser.numlogins); break;
case 3: prints("<文章> %-16d ", xuser.numposts); break;
case 4: prints("<職位> %-4s %-10s ", country, level); break;