From 8c221ff952ac371ff5828c03a70d7f0cfad5c712 Mon Sep 17 00:00:00 2001 From: wens Date: Mon, 3 Jul 2006 05:01:37 +0000 Subject: fix bugs... git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3379 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/bbs.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'mbbsd/bbs.c') diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c index a889a2af..7f773701 100644 --- a/mbbsd/bbs.c +++ b/mbbsd/bbs.c @@ -1552,11 +1552,12 @@ do_limitedit(int ent, fileheader_t * fhdr, const char *direct) boardheader_t *bp = getbcache(currbid); assert(0<=currbid-1 && currbid-1filemode & FILE_VOTE) @@ -1564,7 +1565,7 @@ do_limitedit(int ent, fileheader_t * fhdr, const char *direct) strcat(buf, "連署限制 (Q)取消?[Q]"); genbuf[0] = getans(buf); - if (HasUserPerm(PERM_SYSOP | PERM_SYSSUPERSUBOP) && genbuf[0] == 'a') { + if ((HasUserPerm(PERM_SYSOP) || (HasUserPerm(PERM_SYSSUPERSUBOP) && GROUPOP())) && genbuf[0] == 'a') { sprintf(genbuf, "%u", bp->post_limit_regtime); do { getdata_buf(b_lines - 1, 0, "註冊時間限制 (以'月'為單位,0~255):", genbuf, 4, LCECHO); -- cgit v1.2.3