Explorar o código

* Fixedbug with bot not spawning children correctly

svn: 1864
Bryan Drewery %!s(int64=21) %!d(string=hai) anos
pai
achega
4ec15d7d2f
Modificáronse 1 ficheiros con 2 adicións e 4 borrados
  1. 2 4
      src/main.c

+ 2 - 4
src/main.c

@@ -590,10 +590,8 @@ static void startup_checks(int hack) {
         /* never reached */
         exit(0);
       }
-      if (conf.bot->hub) {
-        spawnbots();
-        exit(0); /* our job is done! */
-      }
+      spawnbots();
+      exit(0); /* our job is done! */
     }
   }
   if (!conf.bot->localhub)