summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-03-28 03:47:47 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-03-28 03:47:47 +0800
commita1e7b46ddf902759d0f20bac458db0dd1a5c5215 (patch)
treebcefb43a84f2b20713c1da81a78ce3696ca36cc7 /mbbsd
parentc6039133a90954b11c8208fd96dade7bc19e3922 (diff)
downloadpttbbs-a1e7b46ddf902759d0f20bac458db0dd1a5c5215.tar
pttbbs-a1e7b46ddf902759d0f20bac458db0dd1a5c5215.tar.gz
pttbbs-a1e7b46ddf902759d0f20bac458db0dd1a5c5215.tar.bz2
pttbbs-a1e7b46ddf902759d0f20bac458db0dd1a5c5215.tar.lz
pttbbs-a1e7b46ddf902759d0f20bac458db0dd1a5c5215.tar.xz
pttbbs-a1e7b46ddf902759d0f20bac458db0dd1a5c5215.tar.zst
pttbbs-a1e7b46ddf902759d0f20bac458db0dd1a5c5215.zip
dirty fix lastposttime
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@736 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/board.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mbbsd/board.c b/mbbsd/board.c
index d041ec65..6722217d 100644
--- a/mbbsd/board.c
+++ b/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')) {