diff options
author | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-04-28 01:32:05 +0800 |
---|---|---|
committer | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-04-28 01:32:05 +0800 |
commit | b638a107935cd572fccbcbd0eb9c02f21d01e698 (patch) | |
tree | c7b75effbfb095813ac458dd457196238729c6d8 | |
parent | 37940e2836260b4b7664f8cae98421a2ed1e312e (diff) | |
download | pttbbs-b638a107935cd572fccbcbd0eb9c02f21d01e698.tar pttbbs-b638a107935cd572fccbcbd0eb9c02f21d01e698.tar.gz pttbbs-b638a107935cd572fccbcbd0eb9c02f21d01e698.tar.bz2 pttbbs-b638a107935cd572fccbcbd0eb9c02f21d01e698.tar.lz pttbbs-b638a107935cd572fccbcbd0eb9c02f21d01e698.tar.xz pttbbs-b638a107935cd572fccbcbd0eb9c02f21d01e698.tar.zst pttbbs-b638a107935cd572fccbcbd0eb9c02f21d01e698.zip |
fix childcount
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1877 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | mbbsd/board.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mbbsd/board.c b/mbbsd/board.c index 0c813609..34cbef5d 100644 --- a/mbbsd/board.c +++ b/mbbsd/board.c @@ -300,8 +300,9 @@ load_boards(char *key) } addnewbrdstat(n, state); } - if(childcount != brdnum) //fix soon - getbcache(class_bid)->childcount = brdnum; + if(childcount < brdnum) //Ptt: dirty fix fix soon + getbcache(class_bid)->childcount = 0; + } } |