summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/menu.c13
-rw-r--r--mbbsd/var.c4
2 files changed, 6 insertions, 11 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: �Ƕi�Ӫ� cmd �Y�v������, �h���� cursor �b��, �ɭP 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 �i ���y���O �j"},
{x_weather,0 , "WWeather �i ��H�w�� �j"},
- {x_stock,0 , "SStock �i �ѥ��污 �j"},
+/* XXX �a���F */
+/* {x_stock,0 , "SStock �i �ѥ��污 �j"},*/
#ifdef HAVE_BIG2
{x_big2, 0, "BBig2 �i �����j�ѤG �j"},
#endif
@@ -585,9 +585,4 @@ int Name_Menu()
domenu(NMENU, "�զ⮣��", 'O', namelist);
return 0;
}
-
-
-
-
-
diff --git a/mbbsd/var.c b/mbbsd/var.c
index 2cca1e11..dfabe04a 100644
--- a/mbbsd/var.c
+++ b/mbbsd/var.c
@@ -1,4 +1,4 @@
-/* $Id: var.c,v 1.11 2002/07/21 09:26:02 in2 Exp $ */
+/* $Id: var.c,v 1.12 2002/09/04 12:54:51 kcwu Exp $ */
#define INCLUDE_VAR_H
#include "bbs.h"
@@ -551,7 +551,7 @@ commands_t cmdlist[] = {
{Talk, 0, "TTalk �i �𶢲�Ѱ� �j"},
{User, 0, "UUser �i �ӤH�]�w�� �j"},
{Xyz, 0, "XXyz �i �t�Τu��� �j"},
- {Play_Play, 0, "PPlay �i �C�ֳ�/�j�Ǭd�]�j"},
+ {Play_Play, PERM_BASIC, "PPlay �i �C�ֳ�/�j�Ǭd�]�j"},
{Name_Menu, PERM_LOGINOK, "NNamelist �i �s�S�O�W�� �j"},
{Goodbye, 0, "GGoodbye ���}�A�A���K�K"},
{NULL, 0, NULL}