Explorar o código

* Fix hub forgetting child leaf bots

Bryan Drewery %!s(int64=16) %!d(string=hai) anos
pai
achega
a8c49458cf
Modificáronse 1 ficheiros con 1 adicións e 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) {