Author: Bleep <tomh@inxpress.net>
authorBleep <twhelvey1@home.com>
Mon, 10 Apr 2000 02:52:52 +0000 (02:52 +0000)
committerBleep <twhelvey1@home.com>
Mon, 10 Apr 2000 02:52:52 +0000 (02:52 +0000)
Log message:
Cleanup for IPcheck code fixes

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@143 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

ChangeLog
ircd/IPcheck.c
ircd/s_user.c

index a07cf40133757c382c5f57d805a0dd6f2a7b1fa4..5dac41ea350b53da6e460f666a03afd2ed1c2693 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+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.
 #
index 203b2b90910dfeb8cad75f35607c105ab977164a..11f50ebcef3c96c62cfc90eb5183443718a2b480 100644 (file)
@@ -488,7 +488,7 @@ int IPcheck_local_connect(struct in_addr a, time_t* next_target_out)
  *   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);
index f4b51672a4309adf0b7ea6a6c10a3b7c4cd15617..08c3bb193e288c2cf476414cbe840403772197f1 100644 (file)
@@ -617,7 +617,7 @@ int register_user(struct Client *cptr, struct Client *sptr,
       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
        */