summaryrefslogtreecommitdiffstats
path: root/mbbsd/bbs.c
diff options
context:
space:
mode:
authorwens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-08-08 22:23:24 +0800
committerwens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-08-08 22:23:24 +0800
commite041c43c8961880cebbc18c1be59bde99582ea2a (patch)
treee9ae727e9d3e52ffbb524714644d635bcbc44b47 /mbbsd/bbs.c
parent72fa46586658fa5a7e797e66167583b17cb5a858 (diff)
downloadpttbbs-e041c43c8961880cebbc18c1be59bde99582ea2a.tar
pttbbs-e041c43c8961880cebbc18c1be59bde99582ea2a.tar.gz
pttbbs-e041c43c8961880cebbc18c1be59bde99582ea2a.tar.bz2
pttbbs-e041c43c8961880cebbc18c1be59bde99582ea2a.tar.lz
pttbbs-e041c43c8961880cebbc18c1be59bde99582ea2a.tar.xz
pttbbs-e041c43c8961880cebbc18c1be59bde99582ea2a.tar.zst
pttbbs-e041c43c8961880cebbc18c1be59bde99582ea2a.zip
add super sys support op (群組長)
HUGETLB doesn't need root git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3010 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/bbs.c')
-rw-r--r--mbbsd/bbs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c
index 04a802ad..234b5444 100644
--- a/mbbsd/bbs.c
+++ b/mbbsd/bbs.c
@@ -3051,7 +3051,7 @@ change_cooldown(int ent, const fileheader_t * fhdr, const char *direct)
{
boardheader_t *bp = getbcache(currbid);
- if (!HasUserPerm(PERM_SYSOP))
+ if (!(HasUserPerm(PERM_SYSOP) || (HasUserPerm(PERM_SYSSUPERSUBOP) && GROUPOP())))
return DONOTHING;
if (bp->brdattr & BRD_COOLDOWN) {