Kaynağa Gözat

* No longer calling send_timesync() once per minute as this is done in botnet pings now

svn: 1904
Bryan Drewery 21 yıl önce
ebeveyn
işleme
c8090b2594
1 değiştirilmiş dosya ile 1 ekleme ve 3 silme
  1. 1 3
      src/main.c

+ 1 - 3
src/main.c

@@ -509,9 +509,7 @@ static int washub = -1;
 
 static void core_minutely()
 {
-  if (conf.bot->hub) 
-    send_timesync(-1);
-  else {
+  if (!conf.bot->hub) {
     if (washub == -1)
       washub = conf.bot->hub;
     else if (washub != conf.bot->hub)