瀏覽代碼

* Fixedbug with bot not spawning children correctly

svn: 1864
Bryan Drewery 21 年之前
父節點
當前提交
4ec15d7d2f
共有 1 個文件被更改,包括 2 次插入4 次删除
  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)