diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2012-04-07 12:16:34 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2012-04-07 12:16:34 +0800 |
commit | 78d3318de00d924f1110472864b4317ebbd983ce (patch) | |
tree | 9e225a5ecaa4f64ae8516a7730a34e4f110e2d2f | |
parent | e352b6462e160f228eddf935235bc2874f7d3863 (diff) | |
download | pttbbs-78d3318de00d924f1110472864b4317ebbd983ce.tar pttbbs-78d3318de00d924f1110472864b4317ebbd983ce.tar.gz pttbbs-78d3318de00d924f1110472864b4317ebbd983ce.tar.bz2 pttbbs-78d3318de00d924f1110472864b4317ebbd983ce.tar.lz pttbbs-78d3318de00d924f1110472864b4317ebbd983ce.tar.xz pttbbs-78d3318de00d924f1110472864b4317ebbd983ce.tar.zst pttbbs-78d3318de00d924f1110472864b4317ebbd983ce.zip |
clean up
git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5609 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | pttbbs/mbbsd/menu.c | 9 | ||||
-rw-r--r-- | pttbbs/mbbsd/user.c | 7 |
2 files changed, 4 insertions, 12 deletions
diff --git a/pttbbs/mbbsd/menu.c b/pttbbs/mbbsd/menu.c index 6ce16415..f1b04bc3 100644 --- a/pttbbs/mbbsd/menu.c +++ b/pttbbs/mbbsd/menu.c @@ -622,7 +622,7 @@ static int deprecate_userlist() { "�����N: Ctrl-U C\n" "��ܤW�X�����T: Ctrl-U l\n"); pressanykey(); - return FULLUPDATE; + return 0; } // ----------------------------------------------------------- MENU DEFINITION @@ -699,7 +699,6 @@ static const commands_t talklist[] = { {t_talk, PERM_LOGINOK, "Talk ��H���"}, // PERM_CHAT �D login �]���A�|���H�Φ��n�O�H�C {t_chat, PERM_LOGINOK, "Chat �i" BBSMNAME2 "�h�H��ѫǡj"}, - {deprecate_userlist, 0, "Pager �����I�s��"}, {t_qchicken, 0, "Watch Pet �d���d��"}, #ifdef PLAY_ANGEL {a_changeangel, @@ -707,6 +706,7 @@ static const commands_t talklist[] = { {menu_angelbeats, PERM_ANGEL|PERM_SYSOP, "BAngel Beats! �ѨϤ��|"}, #endif + {deprecate_userlist, 0, "Pager �����I�s��"}, {deprecate_userlist, 0, "Display ��ܤW�X�����T"}, {NULL, 0, NULL} }; @@ -743,8 +743,7 @@ static int u_view_recentpay() { char fn[PATHLEN]; clear(); - mvouts(10, 5, "�`�N: ���O���|����դ��A�i��|�����O���쪺����O���C"); - mvouts(11, 5, " ���B���e�ȨѰѦҡA���" MONEYNAME + mvouts(10, 5, "�`�N: ���B���e�ȨѰѦҡA���" MONEYNAME "���ʥH���褺����Ƭ���"); pressanykey(); setuserfile(fn, FN_RECENTPAY); @@ -797,11 +796,11 @@ static const commands_t userlist[] = { {u_loginview, PERM_BASIC, "VLogin View ��ܶi���e��"}, {u_myfiles, PERM_LOGINOK, "My Files �i�ӤH�ɮסj (�W��,ñ�W��...)"}, {u_mylogs, PERM_LOGINOK, "LMy Logs �i�ӤH�O���j (�̪�W�u...)"}, - {deprecate_userlist, 0, "KCloak �����N"}, {u_register, MENU_UNREGONLY, "Register ��g�m���U�ӽг�n"}, #ifdef ASSESS {u_cancelbadpost,PERM_LOGINOK, "Bye BadPost �ӽЧR���H��"}, #endif // ASSESS + {deprecate_userlist, 0, "KCloak �����N"}, {NULL, 0, NULL} }; diff --git a/pttbbs/mbbsd/user.c b/pttbbs/mbbsd/user.c index 1e414049..e9deb626 100644 --- a/pttbbs/mbbsd/user.c +++ b/pttbbs/mbbsd/user.c @@ -1262,13 +1262,6 @@ u_info(void) return 0; } -int -u_cloak(void) -{ - outs((currutmp->invisible ^= 1) ? MSG_CLOAKED : MSG_UNCLOAK); - return XEASY; -} - void showplans_userec(userec_t *user) { |