summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-03-18 19:15:55 +0800
committervictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-03-18 19:15:55 +0800
commitd817935caa4dfcc6f78d17559d38bccbcfdbe722 (patch)
tree0ff8cb61ed4f145b3efcbad9d8bfdf5b2f64dce6
parent11795e8a33b288eb61b92c75c498fa2598f42945 (diff)
downloadpttbbs-d817935caa4dfcc6f78d17559d38bccbcfdbe722.tar
pttbbs-d817935caa4dfcc6f78d17559d38bccbcfdbe722.tar.gz
pttbbs-d817935caa4dfcc6f78d17559d38bccbcfdbe722.tar.bz2
pttbbs-d817935caa4dfcc6f78d17559d38bccbcfdbe722.tar.lz
pttbbs-d817935caa4dfcc6f78d17559d38bccbcfdbe722.tar.xz
pttbbs-d817935caa4dfcc6f78d17559d38bccbcfdbe722.tar.zst
pttbbs-d817935caa4dfcc6f78d17559d38bccbcfdbe722.zip
fix sorting error of hot board
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1596 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/board.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/board.c b/mbbsd/board.c
index e7658328..2e764a76 100644
--- a/mbbsd/board.c
+++ b/mbbsd/board.c
@@ -568,7 +568,7 @@ load_boards(char *key)
(bptr->brdattr & (BRD_GROUPBOARD | BRD_SYMBOLIC)) ||
!((state = HasPerm(bptr)) || GROUPOP()) ||
TITLE_MATCH(bptr, key)
-#ifndef HOTBOARDCACHE
+#if ! HOTBOARDCACHE
|| (class_bid == -1 && bptr->nuser < 5)
#endif
)
@@ -582,7 +582,7 @@ load_boards(char *key)
#endif
needREALLOC = 1;
}
-#ifndef HOTBOARDCACHE
+#if ! HOTBOARDCACHE
if (class_bid == -1)
qsort(nbrd, brdnum, sizeof(boardstat_t), cmpboardfriends);
#endif