Author: Bleep <helveytw@home.com>
[ircu2.10.12-pk.git] / ircd / ircd.c
index 1745f99313fcc823780908f885126767a04b5bea..fc451592d0d185cad43ff09cf75d8d534747e69c 100644 (file)
@@ -20,7 +20,6 @@
  * $Id$
  */
 #include "ircd.h"
-
 #include "IPcheck.h"
 #include "class.h"
 #include "client.h"
@@ -482,7 +481,7 @@ static void event_loop(void) {
     /* timeout pending queries that haven't been responded to */
     timeout_auth_queries(CurrentTime);
 
-    ip_registry_expire();
+    IPcheck_expire();
 
     if (GlobalRehashFlag) {
       rehash(&me, 1);
@@ -494,7 +493,6 @@ static void event_loop(void) {
   }
 }
 
-
 /*----------------------------------------------------------------------------
  * check_file_access:  random helper function to make sure that a file is
  *                     accessible in a certain way, and complain if not.
@@ -666,6 +664,7 @@ int main(int argc, char **argv) {
   }
 
   uping_init();
+
   read_tlines();
 
   rmotd       = read_motd(RPATH);