summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-09-19 20:49:01 +0800
committervictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-09-19 20:49:01 +0800
commit57999687e13560a7815459b082678675b256d563 (patch)
tree4c4e0fbe7065b5cc98ec9e1b9d041a847e92f9cf
parent12375ab9adc4c30c39143f4ed4c45560e4cdca7d (diff)
downloadpttbbs-57999687e13560a7815459b082678675b256d563.tar
pttbbs-57999687e13560a7815459b082678675b256d563.tar.gz
pttbbs-57999687e13560a7815459b082678675b256d563.tar.bz2
pttbbs-57999687e13560a7815459b082678675b256d563.tar.lz
pttbbs-57999687e13560a7815459b082678675b256d563.tar.xz
pttbbs-57999687e13560a7815459b082678675b256d563.tar.zst
pttbbs-57999687e13560a7815459b082678675b256d563.zip
remove 打譜 in userlist
git-svn-id: http://opensvn.csie.org/pttbbs/trunk@1188 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--pttbbs/mbbsd/talk.c20
1 files changed, 5 insertions, 15 deletions
diff --git a/pttbbs/mbbsd/talk.c b/pttbbs/mbbsd/talk.c
index 2a0a7fe6..8e13029e 100644
--- a/pttbbs/mbbsd/talk.c
+++ b/pttbbs/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("[¶H´Ñ] §A½T©w­n¥´ÃжܡH[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':