diff options
Diffstat (limited to 'mbbsd/board.c')
-rw-r--r-- | mbbsd/board.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/mbbsd/board.c b/mbbsd/board.c index 4d643242..26add700 100644 --- a/mbbsd/board.c +++ b/mbbsd/board.c @@ -285,7 +285,7 @@ b_config(void) cachePostRes = CheckPostRestriction(currbid); char canpost = (cachePostPerm && cachePostRes); -#define LNBOARDINFO (17) +#define LNBOARDINFO (18) #define LNPOSTRES (12) #define COLPOSTRES (50) @@ -392,6 +392,11 @@ b_config(void) (bp->brdattr & BRD_IPLOGRECMD) ? ANSI_COLOR(1)"自動":"不會"); + prints( " " ANSI_COLOR(1;36) "a" ANSI_RESET + " - 推文時 %s" ANSI_RESET " 開頭\n", + (bp->brdattr & BRD_ALIGNEDCMT) ? + ANSI_COLOR(1)"對齊":"不對齊"); + #ifdef USE_AUTOCPLOG prints( " " ANSI_COLOR(1;36) "x" ANSI_RESET " - 轉錄文章 %s " ANSI_RESET "自動記錄,且 %s " @@ -547,6 +552,11 @@ b_config(void) bp->brdattr ^= BRD_LOCALSAVE; touched = 1; break; + + case 'a': + bp->brdattr ^= BRD_ALIGNEDCMT; + touched = 1; + break; case 'e': if(HasUserPerm(PERM_SYSOP)) |