diff options
-rw-r--r-- | mbbsd/bbs.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c index 7f1369ca..0960080e 100644 --- a/mbbsd/bbs.c +++ b/mbbsd/bbs.c @@ -124,6 +124,9 @@ set_board() /* init basic perm, but post perm is checked on demand */ currmode = (currmode & (MODE_DIRTY | MODE_GROUPOP)) | MODE_STARTED; + if (HAS_PERM(PERM_ALLBOARD) || is_BM_cache(currbid)) { + currmode = currmode | MODE_BOARD | MODE_POST | MODE_POSTCHECKED; + } } /* check post perm on demand, no double checks in current board */ @@ -131,11 +134,7 @@ int CheckPostPerm(void) { if (!(currmode & MODE_POSTCHECKED)) { currmode |= MODE_POSTCHECKED; - if (HAS_PERM(PERM_ALLBOARD) || is_BM_cache(currbid)) { - currmode = currmode | MODE_BOARD | MODE_POST; - return 1; - } - else if (haspostperm(currboard)) { + if (haspostperm(currboard)) { currmode |= MODE_POST; return 1; } |