diff options
-rw-r--r-- | pttbbs/mbbsd/bbs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pttbbs/mbbsd/bbs.c b/pttbbs/mbbsd/bbs.c index ea48467d..b87dba50 100644 --- a/pttbbs/mbbsd/bbs.c +++ b/pttbbs/mbbsd/bbs.c @@ -3846,8 +3846,8 @@ view_posthistory(int ent GCC_UNUSED, const fileheader_t * fhdr, const char *dire int current_as_base = 1; // TODO allow author? - if (!((currmode & MODE_BOARD) || GROUPOP() || - HasUserPerm(PERM_SYSSUPERSUBOP))) + if (!((currmode & MODE_BOARD) || + (HasUserPerm(PERM_SYSSUPERSUBOP | PERM_SYSSUBOP) && GROUPOP()))) return DONOTHING; if (!fhdr || !fhdr->filename[0]) { |