Explorar el Código

* Fix hub forgetting child leaf bots

Bryan Drewery hace 16 años
padre
commit
a8c49458cf
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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) {