diff options
Diffstat (limited to 'util/initbbs.c')
-rw-r--r-- | util/initbbs.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/util/initbbs.c b/util/initbbs.c index e093fe02..8c146269 100644 --- a/util/initbbs.c +++ b/util/initbbs.c @@ -99,8 +99,8 @@ static void initBoards() { b.brdattr = BRD_POSTMASK | BRD_NOTRAN | BRD_NOZAP; b.level = 0; b.gid = 2; - newboard(fp, &b); + strcpy(b.brdname, "1..........."); strcpy(b.title, ".... Σ中央政府 《高壓危險,非人可敵》"); b.brdattr = BRD_GROUPBOARD; @@ -172,6 +172,15 @@ static void initBoards() { b.gid = 5; newboard(fp, &b); +#ifdef GLOBAL_DIGEST + strcpy(b.brdname, GLOBAL_DIGEST); + strcpy(b.title, "文摘 ◎" BBSNAME "文摘 好文的收集地"); + b.brdattr = BRD_NOTRAN | BRD_POSTMASK; + b.level = 0; + b.gid = 5; + newboard(fp, &b); +#endif + fclose(fp); } } |