summaryrefslogtreecommitdiffstats
path: root/mbbsd/bbs.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/bbs.c')
-rw-r--r--mbbsd/bbs.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c
index 1b55ff21..363dc628 100644
--- a/mbbsd/bbs.c
+++ b/mbbsd/bbs.c
@@ -2342,17 +2342,19 @@ change_counting(int ent, fileheader_t * fhdr, char *direct)
get_record(fn_board, &bh, sizeof(bh), bid) == -1)
return DONOTHING;
+ if (!(bh.brdattr & BRD_HIDE && bh.brdattr & BRD_POSTMASK))
+ return FULLUPDATE;
+
if (bh.brdattr & BRD_BMCOUNT) {
if (getans("�ثe�O�C�J�Q�j�Ʀ�, �n�����C�J�Q�j�Ʀ��(Y/N)?[N]") != 'y')
return FULLUPDATE;
- bh.brdattr |= BRD_BMCOUNT;
+ bh.brdattr &= ~BRD_BMCOUNT;
log_usies("NoCountBoard", bh.brdname);
outs("�A�A����]���|���Q�j���r�C\n");
} else {
if (getans("�ثe�ݪO���C�J�Q�j�Ʀ�, �n�C�J�Q�j��(Y/N)?[N]") != 'y')
return FULLUPDATE;
- if (bh.brdattr & BRD_BMCOUNT)
- bh.brdattr &= ~BRD_BMCOUNT;
+ bh.brdattr |= BRD_BMCOUNT;
log_usies("CountBoard", bh.brdname);
outs("������ĤQ�j�Ĥ@�a�C\n");
}