summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mbbsd/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/board.c b/mbbsd/board.c
index 95db3b75..f7451925 100644
--- a/mbbsd/board.c
+++ b/mbbsd/board.c
@@ -344,7 +344,7 @@ load_boards(char *key)
int childcount;
int bid;
- if (bptr->firstchild[type] == 0 )
+ if (bptr->firstchild[type] == 0 || bptr->childcount==0)
load_uidofgid(class_bid, type);
childcount = bptr->childcount; // Ptt: child count after load_uidofgid