Explorar o código

autolink every 30 seconds, 10 is too quick

svn: 124
Bryan Drewery %!s(int64=23) %!d(string=hai) anos
pai
achega
5a30602f1a
Modificáronse 1 ficheiros con 1 adicións e 3 borrados
  1. 1 3
      src/main.c

+ 1 - 3
src/main.c

@@ -654,9 +654,6 @@ void core_10secondly()
 #endif
     curcheck=0;
   }
-
-  Context;
-  autolink_cycle(NULL);         /* attempt autolinks */
 }
 
 void do_fork() {
@@ -712,6 +709,7 @@ static void core_secondly()
     }
   }
   if ((cnt % 30) == 0) {
+    autolink_cycle(NULL);         /* attempt autolinks */
     call_hook(HOOK_30SECONDLY);
     cnt = 0;
   }