Author: ZenShadow
[ircu2.10.12-pk.git] / ircd / ircd.c
index ad4ba77559b0c9184166eca8ac1b37453a299d81..ededf241ae1b8d78a60b5a5dc1411b48cf93e05b 100644 (file)
  *--------------------------------------------------------------------------*/
 extern void init_counters(void);
 
-#ifdef PROFIL
-extern etext(void);
-#endif
-
-
 /*----------------------------------------------------------------------------
  * Constants / Enums
  *--------------------------------------------------------------------------*/
@@ -500,7 +495,7 @@ static void event_loop(void) {
     /* timeout pending queries that haven't been responded to */
     timeout_auth_queries(CurrentTime);
 
-    IPcheck_expire();
+    ip_registry_expire();
 
     if (GlobalRehashFlag) {
       rehash(&me, 1);
@@ -608,12 +603,6 @@ static int set_userid_if_needed(void) {
  *        long and ugly control paths...  -smd
  *--------------------------------------------------------------------------*/
 int main(int argc, char **argv) {
-#ifdef PROFIL
-  monstartup(0, etext);
-  moncontrol(1);
-  signal(SIGUSR1, s_monitor);
-#endif
-
   CurrentTime = time(NULL);
 
   thisServer.argc = argc;
@@ -720,3 +709,4 @@ int main(int argc, char **argv) {
   return 0;
 }
 
+