From c61c6e8e83b9705c88a38579ffdd086a48ef66fb Mon Sep 17 00:00:00 2001 From: in2 Date: Thu, 27 Mar 2003 19:47:47 +0000 Subject: dirty fix lastposttime git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk@736 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- pttbbs/mbbsd/board.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pttbbs/mbbsd/board.c b/pttbbs/mbbsd/board.c index d041ec65..6722217d 100644 --- a/pttbbs/mbbsd/board.c +++ b/pttbbs/mbbsd/board.c @@ -1,4 +1,4 @@ -/* $Id: board.c,v 1.109 2003/03/27 19:18:52 in2 Exp $ */ +/* $Id: board.c,v 1.110 2003/03/27 19:47:47 in2 Exp $ */ #include "bbs.h" #define BRC_STRLEN 15 /* Length of board name */ #define BRC_MAXSIZE 24576 @@ -609,6 +609,8 @@ check_newpost(boardstat_t * ptr) if (B_TOTAL(ptr) == 0) return 0; ftime = B_LASTPOSTTIME(ptr); + if( ftime > now ) + ftime = B_LASTPOSTTIME(ptr) = now - 1; read_brc_buf(); po = brc_buf; while (po < &brc_buf[brc_size] && (*po >= ' ' && *po <= 'z')) { -- cgit v1.2.3