]> jfr.im git - irc/quakenet/snircd-patchqueue.git/blob - ipcheckcounterfix.patch
rename patch files
[irc/quakenet/snircd-patchqueue.git] / ipcheckcounterfix.patch
1 # HG changeset patch
2 # Parent 0304220bf8adef2d03a57aadeef62c06cf2b0a0f
3
4 diff -r 0304220bf8ad ircd/IPcheck.c
5 --- a/ircd/IPcheck.c Sun Jul 14 14:12:28 2013 +0100
6 +++ b/ircd/IPcheck.c Sun Jul 14 14:14:04 2013 +0100
7 @@ -285,9 +285,7 @@
8 */
9 if (0 == ++entry->connected)
10 {
11 - entry->connected--;
12 - Debug((DEBUG_DNS, "IPcheck refusing local connection from %s: counter overflow.", ircd_ntoa(&entry->addr)));
13 - return 0;
14 + ++entry->connected;
15 }
16
17 if (CONNECTED_SINCE(entry->last_connect) > IPCHECK_CLONE_PERIOD)