+2000-04-09 Thomas Helvey <tomh@inxpress.net>
+ * include/IPcheck.h: fix prototype
+ * ircd/s_user.c: fix usage of IPcheck_remote_connect
+ * ircd/IPcheck.c: removed unused args
+
2000-04-09 Thomas Helvey <tomh@inxpress.net>
* include/IPcheck.h: add proto for IPcheck_expire
#
# ChangeLog for ircu2.10.11
#
-# $Id: ChangeLog,v 1.66 2000-04-10 02:28:30 bleep Exp $
+# $Id: ChangeLog,v 1.67 2000-04-10 02:52:52 bleep Exp $
#
# Insert new changes at beginning of the change list.
#
* Update the IPcheck registry.
* Return 0 on failure, 1 on success.
*/
-int IPcheck_remote_connect(struct Client *cptr, const char *hostname, int is_burst)
+int IPcheck_remote_connect(struct Client *cptr, int is_burst)
{
assert(0 != cptr);
return ip_registry_check_remote(cptr, is_burst);
if (IsBurst(acptr) || Protocol(acptr) < 10)
break;
}
- if (IPcheck_remote_connect(sptr, user->host, (acptr != &me)) == -1)
+ if (!IPcheck_remote_connect(sptr, (acptr != &me)))
/*
* We ran out of bits to count this
*/