summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-03-30 14:52:09 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-03-30 14:52:09 +0800
commit5c8c748e9a626e10bdf8bc4a4c2395213be2d70d (patch)
treeaf0a5620151fabf2ee7bca4652130d729569c33d /mbbsd
parent0bfcea8a5676396d273839a4a00f937497ca8d8d (diff)
downloadpttbbs-5c8c748e9a626e10bdf8bc4a4c2395213be2d70d.tar
pttbbs-5c8c748e9a626e10bdf8bc4a4c2395213be2d70d.tar.gz
pttbbs-5c8c748e9a626e10bdf8bc4a4c2395213be2d70d.tar.bz2
pttbbs-5c8c748e9a626e10bdf8bc4a4c2395213be2d70d.tar.lz
pttbbs-5c8c748e9a626e10bdf8bc4a4c2395213be2d70d.tar.xz
pttbbs-5c8c748e9a626e10bdf8bc4a4c2395213be2d70d.tar.zst
pttbbs-5c8c748e9a626e10bdf8bc4a4c2395213be2d70d.zip
A-E
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@749 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/user.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/mbbsd/user.c b/mbbsd/user.c
index 68c7f048..4059a275 100644
--- a/mbbsd/user.c
+++ b/mbbsd/user.c
@@ -1,4 +1,4 @@
-/* $Id: user.c,v 1.51 2003/03/26 11:06:05 in2 Exp $ */
+/* $Id: user.c,v 1.52 2003/03/30 06:52:09 in2 Exp $ */
#include "bbs.h"
static char *sex[8] = {
@@ -215,10 +215,11 @@ static void Customize(void)
prints("%-30s%10s\n", "D. �ثe���߱�", mindbuf);
prints("%-30s%10s\n", "E. ���G����ܧڪ��̷R",
((cuser.uflag2 & FAVNOHILIGHT) ? "�_" : "�O"));
- getdata(b_lines - 1, 0, "�� [A-5] �����]�w�A�� [Return] �����G",
+ getdata(b_lines - 1, 0, "�� [A-E] �����]�w�A�� [Return] �����G",
ans, sizeof(ans), DOECHO);
switch( ans[0] ){
+ case 'A':
case 'a':{
int currentset = cuser.uflag2 & WATER_MASK;
currentset = (currentset + 1) % 3;
@@ -227,12 +228,15 @@ static void Customize(void)
vmsg("�ץ����y�Ҧ���Х��`���u�A���s�W�u");
}
break;
+ case 'B':
case 'b':
cuser.userlevel ^= PERM_NOOUTMAIL;
break;
+ case 'C':
case 'c':
cuser.uflag2 ^= FAVNEW_FLAG;
break;
+ case 'D':
case 'd':{
getdata(b_lines - 1, 0, "�{�b���߱�? ",
mindbuf, sizeof(mindbuf), DOECHO);
@@ -244,6 +248,7 @@ static void Customize(void)
memcpy(currutmp->mind, mindbuf, 4);
}
break;
+ case 'E':
case 'e':
cuser.uflag2 ^= FAVNOHILIGHT;
break;