Author: Ghostwolf <foxxe@wtfs.net>
[ircu2.10.12-pk.git] / ircd / IPcheck.c
index cabeaef9716e3503a664f57f246bd9f74562517e..47c102f9eeb74faa7edaaf8079f436c1a66155cd 100644 (file)
@@ -197,7 +197,7 @@ static void ip_registry_expire(struct Event* ev)
  */
 void IPcheck_init(void)
 {
-  timer_add(&expireTimer, ip_registry_expire, 0, TT_PERIODIC, 60);
+  timer_add(timer_init(&expireTimer), ip_registry_expire, 0, TT_PERIODIC, 60);
 }
 
 /*
@@ -318,7 +318,6 @@ int ip_registry_check_remote(struct Client* cptr, int is_burst)
       entry->last_connect = NOW;
     }
   }
-  SetIPChecked(cptr);
   return 1;
 }