summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2014-06-28 11:17:08 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2014-06-28 11:17:08 +0800
commit7657c49b696d1c57509591df77824896042ad7fa (patch)
tree9f686e0c59a6d2bbd438684759cf89a466f1b973
parentbc2661a6321e3ed523b531c16f9c455f24624af9 (diff)
downloadpttbbs-7657c49b696d1c57509591df77824896042ad7fa.tar
pttbbs-7657c49b696d1c57509591df77824896042ad7fa.tar.gz
pttbbs-7657c49b696d1c57509591df77824896042ad7fa.tar.bz2
pttbbs-7657c49b696d1c57509591df77824896042ad7fa.tar.lz
pttbbs-7657c49b696d1c57509591df77824896042ad7fa.tar.xz
pttbbs-7657c49b696d1c57509591df77824896042ad7fa.tar.zst
pttbbs-7657c49b696d1c57509591df77824896042ad7fa.zip
Since we can't really delete anonymous comments, no need to allow ADMIN entering pvcm.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk@6017 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--pttbbs/mbbsd/bbs.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/pttbbs/mbbsd/bbs.c b/pttbbs/mbbsd/bbs.c
index aceb890e..57d00347 100644
--- a/pttbbs/mbbsd/bbs.c
+++ b/pttbbs/mbbsd/bbs.c
@@ -4495,8 +4495,7 @@ manage_post(int ent, fileheader_t * fhdr, const char *direct) {
#ifdef USE_COMMENTD
case 'v':
- if ((currbrdattr & (BRD_ANGELANONYMOUS | BRD_ANONYMOUS)) &&
- !HasUserPerm(PERM_ADMIN)) {
+ if (currbrdattr & (BRD_ANGELANONYMOUS | BRD_ANONYMOUS)) {
vmsg("©êºp¡A¼È®É¤£¤ä´©°Î¦WªO¡C");
} else {
psb_comment_manager(currboard, fhdr->filename);