Explorar o código

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

svn: 1904
Bryan Drewery %!s(int64=21) %!d(string=hai) anos
pai
achega
c8090b2594
Modificáronse 1 ficheiros con 1 adicións e 3 borrados
  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)