From 9a5cafe88021647eb5eda706c64d3725bb7c43d1 Mon Sep 17 00:00:00 2001 From: in2 Date: Thu, 24 Feb 2005 12:39:12 +0000 Subject: only users with PERM_LOGINOK instead of PERM_BASIC could mail or forward articles. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2537 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/announce.c | 2 +- mbbsd/talk.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'mbbsd') diff --git a/mbbsd/announce.c b/mbbsd/announce.c index 2e74c9dd..9bda1ec3 100644 --- a/mbbsd/announce.c +++ b/mbbsd/announce.c @@ -952,7 +952,7 @@ a_menu(char *maintitle, char *path, int lastlevel) case 'U': snprintf(fname, sizeof(fname), "%s/%s", path, me.header[me.now - me.page].filename); - if (me.now < me.num && HAS_PERM(PERM_BASIC) && dashf(fname)) { + if (me.now < me.num && HAS_PERM(PERM_LOGINOK) && dashf(fname)) { a_forward(path, &me.header[me.now - me.page], ch /* == 'U' */ ); /* By CharlieL */ } else diff --git a/mbbsd/talk.c b/mbbsd/talk.c index 6d14f4c9..7d8927cc 100644 --- a/mbbsd/talk.c +++ b/mbbsd/talk.c @@ -2579,7 +2579,7 @@ userlist(void) break; case 'm': - if (HAS_PERM(PERM_BASIC)) { + if (HAS_PERM(PERM_LOGINOK)) { char userid[IDLEN + 1]; strlcpy(userid, uentp->userid, sizeof(userid)); stand_title("±H «H"); -- cgit v1.2.3