Author: ZenShadow
[ircu2.10.12-pk.git] / ircd / s_serv.c
index cd7e82627ee4600d899509e59aa2c572e39f4947..96958ed4d9787950d6fff779281ce20ea1714909 100644 (file)
@@ -138,7 +138,7 @@ int server_estab(struct Client *cptr, struct ConfItem *aconf)
      * XXX - if this comes from a server port, it will not have been added
      * to the IP check registry, see add_connection in s_bsd.c 
      */
-    IPcheck_connect_fail(cptr->ip);
+    ip_registry_connect_fail(cptr->ip.s_addr);
   }
 
   det_confs_butmask(cptr, CONF_LEAF | CONF_HUB | CONF_SERVER | CONF_UWORLD);