diff options
author | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-08-28 04:29:18 +0800 |
---|---|---|
committer | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-08-28 04:29:18 +0800 |
commit | 243f4a2556bcd6cd6833bd02c46c2e7a8e6536e8 (patch) | |
tree | 0d26b1762e54e8ee181cb1160c11aaf62fa88f4a | |
parent | ac198c30b7a0357be7489ad19c205c0d8335eca3 (diff) | |
download | pttbbs-243f4a2556bcd6cd6833bd02c46c2e7a8e6536e8.tar pttbbs-243f4a2556bcd6cd6833bd02c46c2e7a8e6536e8.tar.gz pttbbs-243f4a2556bcd6cd6833bd02c46c2e7a8e6536e8.tar.bz2 pttbbs-243f4a2556bcd6cd6833bd02c46c2e7a8e6536e8.tar.lz pttbbs-243f4a2556bcd6cd6833bd02c46c2e7a8e6536e8.tar.xz pttbbs-243f4a2556bcd6cd6833bd02c46c2e7a8e6536e8.tar.zst pttbbs-243f4a2556bcd6cd6833bd02c46c2e7a8e6536e8.zip |
check permission for mail
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk@500 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | pttbbs/mbbsd/talk.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/pttbbs/mbbsd/talk.c b/pttbbs/mbbsd/talk.c index e4f64a16..6ae713b8 100644 --- a/pttbbs/mbbsd/talk.c +++ b/pttbbs/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': |