ソースを参照

Merge branch 'master' into next

* master:
  * Don't autocron when in debug mode
Bryan Drewery 15 年 前
コミット
cff0df23e4
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/main.c

+ 1 - 1
src/main.c

@@ -822,7 +822,7 @@ int main(int argc, char **argv)
   if (!conf.bot->hub && conf.bot->localhub)
   if (!conf.bot->hub && conf.bot->localhub)
     sdprintf(STR("I am localhub (%s)"), conf.bot->nick);
     sdprintf(STR("I am localhub (%s)"), conf.bot->nick);
 
 
-  if (conf.autocron && (conf.bot->hub || conf.bot->localhub))
+  if (!sdebug && (conf.autocron && (conf.bot->hub || conf.bot->localhub)))
     check_crontab();
     check_crontab();
 
 
   /* Move into background? */
   /* Move into background? */