diff options
author | wens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2006-07-02 20:41:07 +0800 |
---|---|---|
committer | wens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2006-07-02 20:41:07 +0800 |
commit | 8d307d719e3ddb409cf775dc10e8e28f139a827d (patch) | |
tree | 3446b96aaf7c080c19852ab4931de61b343a0e68 /mbbsd | |
parent | f3c4b2b019f3c2bbb76021a02ed0dd8bb8195457 (diff) | |
download | pttbbs-8d307d719e3ddb409cf775dc10e8e28f139a827d.tar pttbbs-8d307d719e3ddb409cf775dc10e8e28f139a827d.tar.gz pttbbs-8d307d719e3ddb409cf775dc10e8e28f139a827d.tar.bz2 pttbbs-8d307d719e3ddb409cf775dc10e8e28f139a827d.tar.lz pttbbs-8d307d719e3ddb409cf775dc10e8e28f139a827d.tar.xz pttbbs-8d307d719e3ddb409cf775dc10e8e28f139a827d.tar.zst pttbbs-8d307d719e3ddb409cf775dc10e8e28f139a827d.zip |
fix bug in r3375
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3378 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/bbs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c index 44e47ad2..a889a2af 100644 --- a/mbbsd/bbs.c +++ b/mbbsd/bbs.c @@ -1564,7 +1564,7 @@ do_limitedit(int ent, fileheader_t * fhdr, const char *direct) strcat(buf, "連署限制 (Q)取消?[Q]"); genbuf[0] = getans(buf); - if (HasUserPerm(PERM_SYSOP) && genbuf[0] == 'a') { + if (HasUserPerm(PERM_SYSOP | PERM_SYSSUPERSUBOP) && genbuf[0] == 'a') { sprintf(genbuf, "%u", bp->post_limit_regtime); do { getdata_buf(b_lines - 1, 0, "註冊時間限制 (以'月'為單位,0~255):", genbuf, 4, LCECHO); |