summaryrefslogtreecommitdiffstats
path: root/mbbsd/menu.c
diff options
context:
space:
mode:
authorkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-09-04 20:54:51 +0800
committerkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-09-04 20:54:51 +0800
commit46e117312e3d19c798496452158a6a96df24be7d (patch)
treeab62090195f0bc7d8c7329cbd1a94e54a4e9f70d /mbbsd/menu.c
parent17c0693fc7c47beb18297e741c347a2876f28884 (diff)
downloadpttbbs-46e117312e3d19c798496452158a6a96df24be7d.tar
pttbbs-46e117312e3d19c798496452158a6a96df24be7d.tar.gz
pttbbs-46e117312e3d19c798496452158a6a96df24be7d.tar.bz2
pttbbs-46e117312e3d19c798496452158a6a96df24be7d.tar.lz
pttbbs-46e117312e3d19c798496452158a6a96df24be7d.tar.xz
pttbbs-46e117312e3d19c798496452158a6a96df24be7d.tar.zst
pttbbs-46e117312e3d19c798496452158a6a96df24be7d.zip
revert last domenu() fix, change the permission setting instead
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@509 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/menu.c')
-rw-r--r--mbbsd/menu.c13
1 files changed, 4 insertions, 9 deletions
diff --git a/mbbsd/menu.c b/mbbsd/menu.c
index 755a4319..0fe3bd60 100644
--- a/mbbsd/menu.c
+++ b/mbbsd/menu.c
@@ -1,4 +1,4 @@
-/* $Id: menu.c,v 1.18 2002/08/27 21:49:18 kcwu Exp $ */
+/* $Id: menu.c,v 1.19 2002/09/04 12:54:50 kcwu Exp $ */
#include "bbs.h"
/* help & menu processring */
@@ -185,10 +185,9 @@ domenu(int cmdmode, char *cmdtitle, int cmd, commands_t cmdtable[])
int chkmailbox();
static char cmd0[LOGIN];
+ /* XXX: 傳進來的 cmd 若權限不足, 則不知 cursor 在哪, 導致 crash */
if (cmd0[cmdmode])
cmd = cmd0[cmdmode];
- else
- cmd = KEY_HOME;
setutmpmode(cmdmode);
@@ -477,7 +476,8 @@ static commands_t playlist[] = {
#endif
{note, PERM_LOGINOK, "NNote 【 刻刻流言板 】"},
{x_weather,0 , "WWeather 【 氣象預報 】"},
- {x_stock,0 , "SStock 【 股市行情 】"},
+/* XXX 壞掉了 */
+/* {x_stock,0 , "SStock 【 股市行情 】"},*/
#ifdef HAVE_BIG2
{x_big2, 0, "BBig2 【 網路大老二 】"},
#endif
@@ -585,9 +585,4 @@ int Name_Menu()
domenu(NMENU, "白色恐怖", 'O', namelist);
return 0;
}
-
-
-
-
-