소스 검색

* Fix hub forgetting child leaf bots

Bryan Drewery 16 년 전
부모
커밋
a8c49458cf
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/binary.c

+ 1 - 1
src/binary.c

@@ -777,7 +777,7 @@ void reload_bin_data() {
     if (oldbots)
       free_conf_bots(oldbots);
 
-    if (!conf.bot->localhub) {
+    if (!conf.bot->localhub && !conf.bot->hub) {
       free_conf_bots(conf.bots);
 
       if (was_localhub) {