소스 검색

autolink every 30 seconds, 10 is too quick

svn: 124
Bryan Drewery 23 년 전
부모
커밋
5a30602f1a
1개의 변경된 파일1개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 3
      src/main.c

+ 1 - 3
src/main.c

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