summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
authorscw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-01-30 18:14:30 +0800
committerscw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-01-30 18:14:30 +0800
commitfa5d585ed80c29aaa228431c61379b2ca0573d62 (patch)
tree11235a574c2595a2538c57120898e4bfb2f88e06 /mbbsd
parentcfca496481a7fd0c300884f05be44893aacf1b54 (diff)
downloadpttbbs-fa5d585ed80c29aaa228431c61379b2ca0573d62.tar
pttbbs-fa5d585ed80c29aaa228431c61379b2ca0573d62.tar.gz
pttbbs-fa5d585ed80c29aaa228431c61379b2ca0573d62.tar.bz2
pttbbs-fa5d585ed80c29aaa228431c61379b2ca0573d62.tar.lz
pttbbs-fa5d585ed80c29aaa228431c61379b2ca0573d62.tar.xz
pttbbs-fa5d585ed80c29aaa228431c61379b2ca0573d62.tar.zst
pttbbs-fa5d585ed80c29aaa228431c61379b2ca0573d62.zip
Allowing reply inviting request.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2449 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/io.c1
-rw-r--r--mbbsd/talk.c6
2 files changed, 4 insertions, 3 deletions
diff --git a/mbbsd/io.c b/mbbsd/io.c
index 690b7351..b92c262e 100644
--- a/mbbsd/io.c
+++ b/mbbsd/io.c
@@ -334,6 +334,7 @@ igetch()
currutmp->msgs[0].userid, WATERBALL_GENERAL, NULL);
#else
switch (currutmp->msgs[0].msgmode) {
+ case MSGMODE_TALK:
case MSGMODE_WRITE:
my_write(currutmp->msgs[0].pid, "¤ô²y¥á¹L¥h¡G ",
currutmp->msgs[0].userid, WATERBALL_GENERAL, NULL);
diff --git a/mbbsd/talk.c b/mbbsd/talk.c
index 5097db6a..5ca0648d 100644
--- a/mbbsd/talk.c
+++ b/mbbsd/talk.c
@@ -2130,9 +2130,6 @@ userlist(void)
uentp = currpickup[offset].ui;
fri_stat = currpickup[offset].friend;
- if (ch == KEY_RIGHT || ch == '\n' || ch == '\r')
- ch = 't';
-
switch (ch) {
case KEY_LEFT:
case 'e':
@@ -2480,6 +2477,9 @@ userlist(void)
case Ctrl('S'):
break;
+ case KEY_RIGHT:
+ case '\n':
+ case '\r':
case 't':
if (HAS_PERM(PERM_LOGINOK)) {
if (uentp->pid != currpid &&