summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-08-28 04:29:18 +0800
committerkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-08-28 04:29:18 +0800
commita11ff792fe34106ecf032be1f0f1c3fcbd5b1e6b (patch)
tree62aff84bdeab6ab685dde698a3981476715e36bd
parent0a87c49c19fa1563d3e7dae9338a90fdd084ccd7 (diff)
downloadpttbbs-a11ff792fe34106ecf032be1f0f1c3fcbd5b1e6b.tar
pttbbs-a11ff792fe34106ecf032be1f0f1c3fcbd5b1e6b.tar.gz
pttbbs-a11ff792fe34106ecf032be1f0f1c3fcbd5b1e6b.tar.bz2
pttbbs-a11ff792fe34106ecf032be1f0f1c3fcbd5b1e6b.tar.lz
pttbbs-a11ff792fe34106ecf032be1f0f1c3fcbd5b1e6b.tar.xz
pttbbs-a11ff792fe34106ecf032be1f0f1c3fcbd5b1e6b.tar.zst
pttbbs-a11ff792fe34106ecf032be1f0f1c3fcbd5b1e6b.zip
check permission for mail
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@500 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/talk.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/mbbsd/talk.c b/mbbsd/talk.c
index e4f64a16..6ae713b8 100644
--- a/mbbsd/talk.c
+++ b/mbbsd/talk.c
@@ -1,4 +1,4 @@
-/* $Id: talk.c,v 1.85 2002/08/20 12:13:57 in2 Exp $ */
+/* $Id: talk.c,v 1.86 2002/08/27 20:29:18 kcwu Exp $ */
#include "bbs.h"
#define QCAST int (*)(const void *, const void *)
@@ -2217,10 +2217,12 @@ userlist(void)
break;
case 'm':
- stand_title("寄 信");
- prints("[寄信] 收信人:%s", uentp->userid);
- my_send(uentp->userid);
- redrawall = redraw = 1;
+ if (HAS_PERM(PERM_BASIC)) {
+ stand_title("寄 信");
+ prints("[寄信] 收信人:%s", uentp->userid);
+ my_send(uentp->userid);
+ redrawall = redraw = 1;
+ }
break;
case 'q':