Przeglądaj źródła

* Fix hub forgetting child leaf bots

Bryan Drewery 16 lat temu
rodzic
commit
a8c49458cf
1 zmienionych plików z 1 dodań i 1 usunięć
  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) {