summaryrefslogtreecommitdiffstats
path: root/mbbsd
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
commitaf7e1f6c80b0ead26d57feff363fe7526adcff1b (patch)
tree7f9e89d00540f76e2f616930245452e86be55b5e /mbbsd
parentf45c6bfff1926f44854810932ce6c66b60890da9 (diff)
downloadpttbbs-af7e1f6c80b0ead26d57feff363fe7526adcff1b.tar
pttbbs-af7e1f6c80b0ead26d57feff363fe7526adcff1b.tar.gz
pttbbs-af7e1f6c80b0ead26d57feff363fe7526adcff1b.tar.bz2
pttbbs-af7e1f6c80b0ead26d57feff363fe7526adcff1b.tar.lz
pttbbs-af7e1f6c80b0ead26d57feff363fe7526adcff1b.tar.xz
pttbbs-af7e1f6c80b0ead26d57feff363fe7526adcff1b.tar.zst
pttbbs-af7e1f6c80b0ead26d57feff363fe7526adcff1b.zip
remove 打譜 in userlist
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1188 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/talk.c20
1 files 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("[¶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':