diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-01-05 14:36:08 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-01-05 14:36:08 +0800 |
commit | b689801b866fe24fb5e317443521d0e89590b32b (patch) | |
tree | 155d536a896ce285281076aeaf472ec019b78358 /mbbsd | |
parent | f3628aca5d085bf7d8a37f5ac4e889e5c22d99c7 (diff) | |
download | pttbbs-b689801b866fe24fb5e317443521d0e89590b32b.tar pttbbs-b689801b866fe24fb5e317443521d0e89590b32b.tar.gz pttbbs-b689801b866fe24fb5e317443521d0e89590b32b.tar.bz2 pttbbs-b689801b866fe24fb5e317443521d0e89590b32b.tar.lz pttbbs-b689801b866fe24fb5e317443521d0e89590b32b.tar.xz pttbbs-b689801b866fe24fb5e317443521d0e89590b32b.tar.zst pttbbs-b689801b866fe24fb5e317443521d0e89590b32b.zip |
- add BBSLUA mode for utmp
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3790 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
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 */ "", "", "", |