diff options
author | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-07-04 14:52:14 +0800 |
---|---|---|
committer | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-07-04 14:52:14 +0800 |
commit | 7204388338e4e7445afd399a2e1c4947f86fbce3 (patch) | |
tree | acb927d31a747670a3ad1af593d537046581cb45 /mbbsd/bbs.c | |
parent | ff7b952f0b6628d4843bd0cf4ceb8e9efd7798aa (diff) | |
download | pttbbs-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/bbs.c')
-rw-r--r-- | mbbsd/bbs.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c index b02181e8..344c3c1c 100644 --- a/mbbsd/bbs.c +++ b/mbbsd/bbs.c @@ -331,13 +331,13 @@ do_select(int ent, const fileheader_t * fhdr, const char *direct) /* 改良 innbbsd 轉出信件、連線砍信之處理程序 */ /* ----------------------------------------------------- */ void -outgo_post(const fileheader_t *fh, const char *board, const char *userid, const char *username) +outgo_post(const fileheader_t *fh, const char *board, const char *userid, const char *nickname) { FILE *foo; if ((foo = fopen("innd/out.bntp", "a"))) { fprintf(foo, "%s\t%s\t%s\t%s\t%s\n", - board, fh->filename, userid, username, fh->title); + board, fh->filename, userid, nickname, fh->title); fclose(foo); } } @@ -702,7 +702,7 @@ do_general(int isbid) outgo_post(&postfile, currboard, owner, "Anonymous."); else #endif - outgo_post(&postfile, currboard, cuser.userid, cuser.username); + outgo_post(&postfile, currboard, cuser.userid, cuser.nickname); } brc_addlist(postfile.filename); @@ -1131,7 +1131,7 @@ cross_post(int ent, const fileheader_t * fhdr, const char *direct) append_record(fname, &xfile, sizeof(xfile)); bp = getbcache(getbnum(xboard)); if (!xfile.filemode && !(bp->brdattr & BRD_NOTRAN)) - outgo_post(&xfile, xboard, cuser.userid, cuser.username); + outgo_post(&xfile, xboard, cuser.userid, cuser.nickname); #ifdef USE_COOLDOWN if(bp->nuser>30) { |