diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-03-28 03:47:47 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-03-28 03:47:47 +0800 |
commit | c61c6e8e83b9705c88a38579ffdd086a48ef66fb (patch) | |
tree | 862bf9498f7bf6d59f9d9c00f33f1e38dbf7c11e | |
parent | ab630c2235ea603c92efdc8bb82b02908080c6d0 (diff) | |
download | pttbbs-c61c6e8e83b9705c88a38579ffdd086a48ef66fb.tar pttbbs-c61c6e8e83b9705c88a38579ffdd086a48ef66fb.tar.gz pttbbs-c61c6e8e83b9705c88a38579ffdd086a48ef66fb.tar.bz2 pttbbs-c61c6e8e83b9705c88a38579ffdd086a48ef66fb.tar.lz pttbbs-c61c6e8e83b9705c88a38579ffdd086a48ef66fb.tar.xz pttbbs-c61c6e8e83b9705c88a38579ffdd086a48ef66fb.tar.zst pttbbs-c61c6e8e83b9705c88a38579ffdd086a48ef66fb.zip |
dirty fix lastposttime
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk@736 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | pttbbs/mbbsd/board.c | 4 |
1 files changed, 3 insertions, 1 deletions
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')) { |