[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
On Fri, Jun 13, 2008 at 08:30:49PM +0200, Piotr KUCHARSKI wrote:
That's what I get for not testing other people code. :(
IP hash is broken, here's the patch:
@@ -1246,7 +1246,7 @@ anUser *hash_find_ip(char *ip, anUser *u
for (tmp = (anUser *)tmp3->list; tmp; prv = tmp, tmp = tmp->iphnext)
- if (hv == tmp->iphashv && !mycmp(ip, tmp->host))
+ if (hv == tmp->iphashv && !mycmp(ip, tmp->sip))
Or you can #undef YLINE_LIMITS_IPHASH and recompile.
And yes, that means local/global limits basically don't work. :(
Sorry for that. I removed irc2.11.2.tgz -- I have to think, whether I may
upload fixed version or have to release 2.11.2p1.
I code, therefore I break things.