From af7e1f6c80b0ead26d57feff363fe7526adcff1b Mon Sep 17 00:00:00 2001 From: victor Date: Fri, 19 Sep 2003 12:49:01 +0000 Subject: =?UTF-8?q?remove=20=E6=89=93=E8=AD=9C=20in=20userlist?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1188 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/talk.c | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) diff --git a/mbbsd/talk.c b/mbbsd/talk.c index 2a0a7fe6..8e13029e 100644 --- a/mbbsd/talk.c +++ b/mbbsd/talk.c @@ -1357,13 +1357,6 @@ my_talk(userinfo_t * uin, int fri_stat, char defact) pressanykey(); } -static void -self_play(userinfo_t * uin, int fri_stat) -{ - if (getans("[象棋] 你確定要打譜嗎?[N/y]") == 'y') - chc(0, CHC_PERSONAL); -} - /* 選單式聊天介面 */ #define US_PICKUP 1234 #define US_RESORT 1233 @@ -2213,17 +2206,14 @@ userlist(void) case 't': if (HAS_PERM(PERM_LOGINOK)) { - move(1, 0); - clrtobot(); - move(3, 0); if (uentp->pid != currpid && - strcmp(uentp->userid, cuser.userid) != 0) { + strcmp(uentp->userid, cuser.userid) != 0) { + move(1, 0); + clrtobot(); + move(3, 0); my_talk(uentp, fri_stat, 0); + redrawall = redraw = 1; } - else{ - self_play(uentp, fri_stat); - } - redrawall = redraw = 1; } break; case 'K': -- cgit v1.2.3