diff options
Diffstat (limited to 'mbbsd/bbs.c')
-rw-r--r-- | mbbsd/bbs.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c index 6e88b144..4a051f35 100644 --- a/mbbsd/bbs.c +++ b/mbbsd/bbs.c @@ -224,6 +224,9 @@ CheckPostPerm(void) static int last_board_index = 0; /* for speed up */ int valid_index = 0; boardheader_t *bp = NULL; + + if (currmode & MODE_DIGEST) + return 0; if (currmode & MODE_POSTCHECKED) { @@ -3191,10 +3194,9 @@ board_digest(void) if (currmode & MODE_SELECT) board_select(); currmode ^= MODE_DIGEST; - if (currmode & MODE_DIGEST) - currmode &= ~MODE_POST; - else if (haspostperm(currboard)) - currmode |= MODE_POST; + + // MODE_POST may be changed if board is modified. + // do not change post perm here. use other instead. setbdir(currdirect, currboard); return NEWDIRECT; |