diff options
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/bbslua.c | 1 | ||||
-rw-r--r-- | mbbsd/var.c | 5 |
2 files changed, 3 insertions, 3 deletions
diff --git a/mbbsd/bbslua.c b/mbbsd/bbslua.c index ddb4795c..b7736c65 100644 --- a/mbbsd/bbslua.c +++ b/mbbsd/bbslua.c @@ -425,6 +425,7 @@ bbslua(const char *fpath) "請按任意鍵開始執行 BBS-Lua 程式。 執行中您可隨時按下 Ctrl-C 強制中斷。" ANSI_RESET); + setutmpmode(UMODE_BBSLUA); vmsg(" BBS-Lua " BBSLUA_VERSION_STR ); // ready for running diff --git a/mbbsd/var.c b/mbbsd/var.c index 88a6f348..17dd550b 100644 --- a/mbbsd/var.c +++ b/mbbsd/var.c @@ -181,7 +181,6 @@ char * const str_post1 = STR_POST1; char * const str_post2 = STR_POST2; char * const BBSName = BBSNAME; -/* #define MAX_MODES 78 */ /* MAX_MODES is defined in common.h */ char * const ModeTypeTable[MAX_MODES] = { @@ -270,8 +269,8 @@ char * const ModeTypeTable[MAX_MODES] = { "下圍棋", /* UMODE_GO */ "[系統錯誤]", /* DEBUGSLEEPING */ "連六棋", /* UMODE_CONN6 */ - "", /* for future usage */ - "", + "黑白棋", /* REVERSI */ + "BBSLUA", /* UMODE_BBSLUA */ "", "", "", |