Author: Bleep <tomh@inxpress.net>
[ircu2.10.12-pk.git] / ircd / s_user.c
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
        */