summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
authorwens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2006-07-01 20:44:04 +0800
committerwens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2006-07-01 20:44:04 +0800
commit7a327f5651886ad80032c06a10631e444851b564 (patch)
treef2a6287cf3937cba8a414a5e7636eda91fbeac9c /mbbsd
parent716e41fb8d8e2f7faa06ba26c6eea8fc19c5712a (diff)
downloadpttbbs-7a327f5651886ad80032c06a10631e444851b564.tar
pttbbs-7a327f5651886ad80032c06a10631e444851b564.tar.gz
pttbbs-7a327f5651886ad80032c06a10631e444851b564.tar.bz2
pttbbs-7a327f5651886ad80032c06a10631e444851b564.tar.lz
pttbbs-7a327f5651886ad80032c06a10631e444851b564.tar.xz
pttbbs-7a327f5651886ad80032c06a10631e444851b564.tar.zst
pttbbs-7a327f5651886ad80032c06a10631e444851b564.zip
group ops can alter posting limits
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3375 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/bbs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c
index e31138a5..9a9e5607 100644
--- a/mbbsd/bbs.c
+++ b/mbbsd/bbs.c
@@ -1556,7 +1556,7 @@ do_limitedit(int ent, fileheader_t * fhdr, const char *direct)
return DONOTHING;
strcpy(buf, "更改 ");
- if (HasUserPerm(PERM_SYSOP))
+ if (HasUserPerm(PERM_SYSOP) || (HasUserPerm(PERM_SYSSUPERSUBOP) && GROUPOP()))
strcat(buf, "(A)本板發表限制 ");
strcat(buf, "(B)本板預設");
if (fhdr->filemode & FILE_VOTE)