summaryrefslogtreecommitdiffstats
path: root/mbbsd/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/board.c')
-rw-r--r--mbbsd/board.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/mbbsd/board.c b/mbbsd/board.c
index 5bf159c6..a1ae8c41 100644
--- a/mbbsd/board.c
+++ b/mbbsd/board.c
@@ -861,10 +861,15 @@ cmpboardfriends(const void *brd, const void *tmp)
static void
load_boards(char *key)
{
- int type = cuser.uflag & BRDSORT_FLAG ? 1 : 0;
+ int type = (cuser.uflag & BRDSORT_FLAG) ? 1 : 0;
int i;
int state;
+ // override type in class root, because usually we don't need to sort
+ // class root; and there may be out-of-sync in that mode.
+ if (IN_CLASSROOT)
+ type = 1;
+
brdnum = 0;
if (nbrd) {
free(nbrd);