summaryrefslogtreecommitdiffstats
path: root/include
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 /include
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 'include')
-rw-r--r--include/pttstruct.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/pttstruct.h b/include/pttstruct.h
index 82846de6..73b6b469 100644
--- a/include/pttstruct.h
+++ b/include/pttstruct.h
@@ -19,7 +19,7 @@ typedef struct bid_t {
char flag; /* 屬性 (是否已評價) */
char pad[2];
int shipping; /* 運費 */
-}bid_t;
+} bid_t;
/* 小雞的資料 */
typedef struct chicken_t {
@@ -60,7 +60,7 @@ typedef struct userec_t {
char userid[IDLEN + 1]; /* ID */
char realname[20]; /* 真實姓名 */
- char username[24]; /* 暱稱 */
+ char nickname[24]; /* 暱稱 */
char passwd[PASSLEN]; /* 密碼 */
unsigned int uflag; /* 習慣1 */
unsigned int uflag2; /* 習慣2 */
@@ -343,7 +343,7 @@ typedef struct userinfo_t {
/* user data */
unsigned int userlevel;
char userid[IDLEN + 1];
- char username[24];
+ char nickname[24];
char from[27]; /* machine name the user called in from */
int from_alias;
char sex;