diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-02-24 20:39:12 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-02-24 20:39:12 +0800 |
commit | 9a5cafe88021647eb5eda706c64d3725bb7c43d1 (patch) | |
tree | b3df96bfdac704553799aecd56396df0f27e84b5 | |
parent | aa38b31544cfee5da52f483fe6905f965ae78a07 (diff) | |
download | pttbbs-9a5cafe88021647eb5eda706c64d3725bb7c43d1.tar pttbbs-9a5cafe88021647eb5eda706c64d3725bb7c43d1.tar.gz pttbbs-9a5cafe88021647eb5eda706c64d3725bb7c43d1.tar.bz2 pttbbs-9a5cafe88021647eb5eda706c64d3725bb7c43d1.tar.lz pttbbs-9a5cafe88021647eb5eda706c64d3725bb7c43d1.tar.xz pttbbs-9a5cafe88021647eb5eda706c64d3725bb7c43d1.tar.zst pttbbs-9a5cafe88021647eb5eda706c64d3725bb7c43d1.zip |
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
-rw-r--r-- | mbbsd/announce.c | 2 | ||||
-rw-r--r-- | mbbsd/talk.c | 2 |
2 files changed, 2 insertions, 2 deletions
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"); |