diff options
Diffstat (limited to 'mbbsd/menu.c')
-rw-r--r-- | mbbsd/menu.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/mbbsd/menu.c b/mbbsd/menu.c index 7e3ec37a..38a5801f 100644 --- a/mbbsd/menu.c +++ b/mbbsd/menu.c @@ -272,6 +272,9 @@ domenu(int cmdmode, char *cmdtitle, int cmd, commands_t cmdtable[]) while (++i <= total) if (cmdtable[i].desc[1] == cmd) break; + if (cmd == 'H' && i > total){ + /* TODO: Add menu help */ + } } if (i > total || !HAS_PERM(cmdtable[i].level)) @@ -344,6 +347,9 @@ static commands_t talklist[] = { {t_talk, PERM_PAGE, "TTalk 找人聊聊"}, {t_chat, PERM_CHAT, "CChat 找家茶坊喫茶去"}, {t_display, 0, "DDisplay 顯示上幾次熱訊"}, +#ifdef PLAY_ANGEL + {t_changeangel, PERM_BASIC, "UAChange Angel 更換小天使"}, +#endif {NULL, 0, NULL} }; @@ -373,7 +379,7 @@ static commands_t namelist[] = { static commands_t userlist[] = { {u_info, PERM_LOGINOK, "IInfo 設定個人資料與密碼"}, {calendar, PERM_LOGINOK, "CCalendar 個人行事曆"}, - {u_editcalendar, PERM_LOGINOK, "CDEditCalendar 編輯個人行事曆"}, + {u_editcalendar, PERM_LOGINOK, "CDEditCalendar 編輯個人行事曆"}, {u_loginview, PERM_LOGINOK, "LLogin View 選擇進站畫面"}, {u_ansi, 0, "AANSI 切換 ANSI \033[36m彩\033[35m色\033[37m/" "\033[30;47m黑\033[1;37m白\033[m模示"}, @@ -384,9 +390,9 @@ static commands_t userlist[] = { {u_editplan, PERM_LOGINOK, "QQueryEdit 編輯名片檔"}, {u_editsig, PERM_LOGINOK, "SSignature 編輯簽名檔"}, #if HAVE_FREECLOAK - {u_cloak, PERM_LOGINOK, "KKCloak 隱身術"}, + {u_cloak, PERM_LOGINOK, "KKCloak 隱身術"}, #else - {u_cloak, PERM_CLOAK, "KKCloak 隱身術"}, + {u_cloak, PERM_CLOAK, "KKCloak 隱身術"}, #endif {u_register, PERM_BASIC, "RRegister 填寫《註冊申請單》"}, {u_list, PERM_SYSOP, "UUsers 列出註冊名單"}, |