Add assertions to try to catch IPcheck counting errors.
[ircu2.10.12-pk.git] / ircd / s_serv.c
index 24915e952cb5357cba49b2acc0a3e96827007e93..7a6d68570498771045488845f6660404ace74477 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(&cli_ip(cptr));
+    IPcheck_connect_fail(cptr);
   }
 
   det_confs_butmask(cptr, CONF_SERVER | CONF_UWORLD);