summaryrefslogtreecommitdiffstats
path: root/util/initbbs.c
diff options
context:
space:
mode:
authorscw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-01-25 14:20:23 +0800
committerscw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-01-25 14:20:23 +0800
commitd56dce6834668e0fe47c8cd85e33d1128a696487 (patch)
treec9b178a2bb66a715db65f472afe7ba2f44857c6b /util/initbbs.c
parentf95b868ac90da4643235079bdeb05b43ddbc3c4f (diff)
downloadpttbbs-d56dce6834668e0fe47c8cd85e33d1128a696487.tar
pttbbs-d56dce6834668e0fe47c8cd85e33d1128a696487.tar.gz
pttbbs-d56dce6834668e0fe47c8cd85e33d1128a696487.tar.bz2
pttbbs-d56dce6834668e0fe47c8cd85e33d1128a696487.tar.lz
pttbbs-d56dce6834668e0fe47c8cd85e33d1128a696487.tar.xz
pttbbs-d56dce6834668e0fe47c8cd85e33d1128a696487.tar.zst
pttbbs-d56dce6834668e0fe47c8cd85e33d1128a696487.zip
Collect all the five chess log to a board if GLOBAL_FIVECHESS_LOG
is define. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2433 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'util/initbbs.c')
-rw-r--r--util/initbbs.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/util/initbbs.c b/util/initbbs.c
index d1cddc1a..a8468290 100644
--- a/util/initbbs.c
+++ b/util/initbbs.c
@@ -171,7 +171,16 @@ static void initBoards() {
b.gid = 5;
newboard(fp, &b);
#endif
-
+
+#ifdef GLOBAL_FIVECHESS_LOG
+ strcpy(b.brdname, GLOBAL_FIVECHESS_LOG);
+ strcpy(b.title, "棋藝 ◎" BBSNAME "五子棋譜 站上對局全紀錄");
+ b.brdattr = BRD_NOTRAN | BRD_POSTMASK;
+ b.level = PERM_SYSOP;
+ b.gid = 5;
+ newboard(fp, &b);
+#endif
+
fclose(fp);
}
}