diff options
author | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-03-19 21:00:13 +0800 |
---|---|---|
committer | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-03-19 21:00:13 +0800 |
commit | eadc8ca4ec8a2211cdb07386bfb133ab972ed874 (patch) | |
tree | 5e4bce7a7c97d9ddfa60a2e04d991965dfe391d1 /mbbsd/admin.c | |
parent | bac35869a07ddf3307643c0a60399e2bdb5b98ea (diff) | |
download | pttbbs-eadc8ca4ec8a2211cdb07386bfb133ab972ed874.tar pttbbs-eadc8ca4ec8a2211cdb07386bfb133ab972ed874.tar.gz pttbbs-eadc8ca4ec8a2211cdb07386bfb133ab972ed874.tar.bz2 pttbbs-eadc8ca4ec8a2211cdb07386bfb133ab972ed874.tar.lz pttbbs-eadc8ca4ec8a2211cdb07386bfb133ab972ed874.tar.xz pttbbs-eadc8ca4ec8a2211cdb07386bfb133ab972ed874.tar.zst pttbbs-eadc8ca4ec8a2211cdb07386bfb133ab972ed874.zip |
less hard coded path/string.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2634 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/admin.c')
-rw-r--r-- | mbbsd/admin.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mbbsd/admin.c b/mbbsd/admin.c index ea175e90..c3d6ebf8 100644 --- a/mbbsd/admin.c +++ b/mbbsd/admin.c @@ -272,7 +272,7 @@ AddingChessCountryFiles(const char* apath) symlink("chess_ensign", symbolicname); strcpy(fh.title, "◇ 棋國國徽 (不能刪除,系統需要)"); - strcpy(fh.owner, "SYSOP"); + strcpy(fh.owner, str_sysop); append_record(adir, &fh, sizeof(fileheader_t)); /* creating member list */ @@ -292,7 +292,7 @@ AddingChessCountryFiles(const char* apath) symlink("chess_list", symbolicname); strcpy(fh.title, "◇ 棋國成員表 (不能刪除,系統需要)"); - strcpy(fh.owner, "SYSOP"); + strcpy(fh.owner, str_sysop); append_record(adir, &fh, sizeof(fileheader_t)); /* creating profession photos' dir */ @@ -304,7 +304,7 @@ AddingChessCountryFiles(const char* apath) symlink("chess_photo", symbolicname); strcpy(fh.title, "◆ 棋國照片檔 (不能刪除,系統需要)"); - strcpy(fh.owner, "SYSOP"); + strcpy(fh.owner, str_sysop); append_record(adir, &fh, sizeof(fileheader_t)); } #endif /* defined(CHESSCOUNTRY) */ |