summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-04-29 02:06:46 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-04-29 02:06:46 +0800
commit4bc2da5f4727ef0c25980813d81cd9177ea4dc7f (patch)
tree50ddcc75cda776f84528abfcea52b483168703fa /mbbsd
parentccf9231c3989453ff7597049629aba71c513d346 (diff)
downloadpttbbs-4bc2da5f4727ef0c25980813d81cd9177ea4dc7f.tar
pttbbs-4bc2da5f4727ef0c25980813d81cd9177ea4dc7f.tar.gz
pttbbs-4bc2da5f4727ef0c25980813d81cd9177ea4dc7f.tar.bz2
pttbbs-4bc2da5f4727ef0c25980813d81cd9177ea4dc7f.tar.lz
pttbbs-4bc2da5f4727ef0c25980813d81cd9177ea4dc7f.tar.xz
pttbbs-4bc2da5f4727ef0c25980813d81cd9177ea4dc7f.tar.zst
pttbbs-4bc2da5f4727ef0c25980813d81cd9177ea4dc7f.zip
- message refine and menu item re-ordering for talk/chat.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4255 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/cache.c2
-rw-r--r--mbbsd/menu.c12
2 files changed, 7 insertions, 7 deletions
diff --git a/mbbsd/cache.c b/mbbsd/cache.c
index 9cb18c43..5b1f17f3 100644
--- a/mbbsd/cache.c
+++ b/mbbsd/cache.c
@@ -840,7 +840,7 @@ int is_BM_cache(int bid) /* bid starts from 1 */
{
assert(0<=bid-1 && bid-1<MAX_BOARD);
int *pbm = SHM->BMcache[bid-1];
- // XXX potential issue:
+ // XXX potential issue: (thanks for mtdas@ptt)
// buildBMcache use -1 as "none".
// some function may call is_BM_cache early
// without having currutmp->uid (maybe?)
diff --git a/mbbsd/menu.c b/mbbsd/menu.c
index fd515146..1e7b40fa 100644
--- a/mbbsd/menu.c
+++ b/mbbsd/menu.c
@@ -510,21 +510,21 @@ static const commands_t maillist[] = {
/* Talk menu */
static const commands_t talklist[] = {
- {t_users, 0, "UUsers 完全聊天手冊"},
- {t_pager, PERM_BASIC, "PPager 切換呼叫器"},
- {t_idle, 0, "IIdle 發呆"},
+ {t_users, 0, "UUsers 線上使用者列表"},
{t_query, 0, "QQuery 查詢網友"},
- {t_qchicken, 0, "WWatch Pet 查詢寵物"},
+ {t_display, 0, "DDisplay 顯示上幾次熱訊"},
// PERM_PAGE - 水球都要 PERM_LOGIN 了
// 沒道理可以 talk 不能水球。
{t_talk, PERM_LOGINOK, "TTalk 找人聊聊"},
// PERM_CHAT 非 login 也有,會有人用此吵別人。
- {t_chat, PERM_LOGINOK, "CChat 找家茶坊喫茶去"},
+ {t_chat, PERM_LOGINOK, "CChat 多人聊天室"},
+ {t_pager, PERM_BASIC, "PPager 切換呼叫器"},
+ {t_idle, 0, "IIdle 發呆"},
+ {t_qchicken, 0, "WWatch Pet 查詢寵物"},
#ifdef PLAY_ANGEL
{t_changeangel, PERM_LOGINOK, "UAChange Angel 更換小天使"},
{t_angelmsg, PERM_ANGEL, "LLeave message 留言給小主人"},
#endif
- {t_display, 0, "DDisplay 顯示上幾次熱訊"},
{NULL, 0, NULL}
};