]> jfr.im git - irc/quakenet/snircd.git/blobdiff - ircd/IPcheck.c
Should be unsigned long for A
[irc/quakenet/snircd.git] / ircd / IPcheck.c
index c3cb5862e6bc1148e99672a7ad42253f300b36c3..a77d69630ed10a9b6ce42877ea0602d04835493e 100644 (file)
@@ -285,9 +285,7 @@ int ip_registry_check_local(const struct irc_in_addr *addr, time_t* next_target_
    */
   if (0 == ++entry->connected)
   {
-    entry->connected--;
-    Debug((DEBUG_DNS, "IPcheck refusing local connection from %s: counter overflow.", ircd_ntoa(&entry->addr)));
-    return 0;
+    ++entry->connected;
   }
 
   if (CONNECTED_SINCE(entry->last_connect) > IPCHECK_CLONE_PERIOD)