summaryrefslogtreecommitdiffstats
path: root/pttbbs/mbbsd/talk.c
diff options
context:
space:
mode:
Diffstat (limited to 'pttbbs/mbbsd/talk.c')
-rw-r--r--pttbbs/mbbsd/talk.c13
1 files changed, 2 insertions, 11 deletions
diff --git a/pttbbs/mbbsd/talk.c b/pttbbs/mbbsd/talk.c
index a459f107..bf64f983 100644
--- a/pttbbs/mbbsd/talk.c
+++ b/pttbbs/mbbsd/talk.c
@@ -2526,17 +2526,8 @@ userlist(void)
break;
case 'i':
- if (HasUserPerm(PERM_BASIC|PERM_LOGINOK)) {
- char mindbuf[5];
- getdata(b_lines - 1, 0, "現在的心情? ",
- mindbuf, sizeof(mindbuf), DOECHO);
- if (strcmp(mindbuf, "通緝") == 0)
- vmsg("不可以把自己設通緝啦!");
- else if (strcmp(mindbuf, "壽星") == 0)
- vmsg("你不是今天生日欸!");
- else
- memcpy(currutmp->mind, mindbuf, 4);
- }
+ if (HasUserPerm(PERM_BASIC|PERM_LOGINOK))
+ u_set_mind();
redrawall = redraw = 1;
break;