summaryrefslogtreecommitdiffstats
path: root/mbbsd/bbs.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/bbs.c')
-rw-r--r--mbbsd/bbs.c13
1 files changed, 11 insertions, 2 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c
index 6cf51226..bfd3108c 100644
--- a/mbbsd/bbs.c
+++ b/mbbsd/bbs.c
@@ -92,7 +92,7 @@ save_violatelaw(void)
* void make_blist() { CreateNameList(); apply_boards(g_board_names); }
*/
-static time4_t *board_note_time;
+static time4_t *board_note_time = NULL;
void
set_board(void)
@@ -113,6 +113,15 @@ set_board(void)
vmsg("進入未經授權看板");
board_note_time = &bp->bupdate;
+ /* board_visit_time was broken before.
+ * It seems like that the behavior should be
+ * "Show board notes once per login"
+ * but the real bahavior was
+ * "Show board everytime I enter board".
+ * So, let's disable board_visit_time now.
+ */
+ // board_visit_time = getbrdtime(ptr->bid);
+
if(bp->BM[0] <= ' ')
strcpy(currBM, "徵求中");
else
@@ -2718,7 +2727,7 @@ Read(void)
setutmpmode(READING);
set_board();
- if (board_visit_time < *board_note_time) {
+ if (board_note_time && board_visit_time < *board_note_time) {
int mr = 0;
setbfile(buf, currboard, fn_notes);