summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-05-25 00:45:25 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-05-25 00:45:25 +0800
commit56d2b12d27a8a9aae90ed53674b07ff21f4ce2d6 (patch)
treece6084ace6084b696db0870a5c41e316b908b73e /mbbsd
parentd4265cc0736b7ac190ee049c0f13e6054eb789d7 (diff)
downloadpttbbs-56d2b12d27a8a9aae90ed53674b07ff21f4ce2d6.tar
pttbbs-56d2b12d27a8a9aae90ed53674b07ff21f4ce2d6.tar.gz
pttbbs-56d2b12d27a8a9aae90ed53674b07ff21f4ce2d6.tar.bz2
pttbbs-56d2b12d27a8a9aae90ed53674b07ff21f4ce2d6.tar.lz
pttbbs-56d2b12d27a8a9aae90ed53674b07ff21f4ce2d6.tar.xz
pttbbs-56d2b12d27a8a9aae90ed53674b07ff21f4ce2d6.tar.zst
pttbbs-56d2b12d27a8a9aae90ed53674b07ff21f4ce2d6.zip
r => read_mail
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@198 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/talk.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/mbbsd/talk.c b/mbbsd/talk.c
index 09a079c1..1792c772 100644
--- a/mbbsd/talk.c
+++ b/mbbsd/talk.c
@@ -1,4 +1,4 @@
-/* $Id: talk.c,v 1.38 2002/05/24 16:32:52 in2 Exp $ */
+/* $Id: talk.c,v 1.39 2002/05/24 16:45:25 in2 Exp $ */
#include <stdio.h>
#include <string.h>
#include <errno.h>
@@ -2240,6 +2240,13 @@ static void pickup_user(void)
}
break;
+ case 'r':
+ if( HAS_PERM(PERM_LOGINOK) ){
+ m_read();
+ redrawall = redraw = 1;
+ }
+ break;
+
default:
if( ++looptimes == 10 )
redrawall = redraw = 1;