summaryrefslogtreecommitdiffstats
path: root/mbbsd/talk.c
diff options
context:
space:
mode:
authorkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-09-04 21:33:45 +0800
committerkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-09-04 21:33:45 +0800
commit77f08a35715ec3dc1bddfc832c7addae4d296b9d (patch)
treeb9255bbfa084190576fb51cfb457c53085c25181 /mbbsd/talk.c
parent46e117312e3d19c798496452158a6a96df24be7d (diff)
downloadpttbbs-77f08a35715ec3dc1bddfc832c7addae4d296b9d.tar
pttbbs-77f08a35715ec3dc1bddfc832c7addae4d296b9d.tar.gz
pttbbs-77f08a35715ec3dc1bddfc832c7addae4d296b9d.tar.bz2
pttbbs-77f08a35715ec3dc1bddfc832c7addae4d296b9d.tar.lz
pttbbs-77f08a35715ec3dc1bddfc832c7addae4d296b9d.tar.xz
pttbbs-77f08a35715ec3dc1bddfc832c7addae4d296b9d.tar.zst
pttbbs-77f08a35715ec3dc1bddfc832c7addae4d296b9d.zip
when return from hotkey function, restore utmpmode
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@510 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/talk.c')
-rw-r--r--mbbsd/talk.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mbbsd/talk.c b/mbbsd/talk.c
index d9308b4d..845c25e8 100644
--- a/mbbsd/talk.c
+++ b/mbbsd/talk.c
@@ -1,4 +1,4 @@
-/* $Id: talk.c,v 1.87 2002/08/29 15:31:48 kcwu Exp $ */
+/* $Id: talk.c,v 1.88 2002/09/04 13:33:45 kcwu Exp $ */
#include "bbs.h"
#define QCAST int (*)(const void *, const void *)
@@ -2208,6 +2208,7 @@ userlist(void)
stand_title("寄 信");
prints("[寄信] 收信人:%s", uentp->userid);
my_send(uentp->userid);
+ setutmpmode(LUSERS);
redrawall = redraw = 1;
}
break;
@@ -2266,6 +2267,7 @@ userlist(void)
case 'r':
if (HAS_PERM(PERM_LOGINOK)) {
m_read();
+ setutmpmode(LUSERS);
redrawall = redraw = 1;
}
break;