X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=ircd%2Fs_bsd.c;h=d807f2b4680439dffdb1cfbbc539500ffe231a5c;hb=500be22dee617f0d5d52dd2238348e7ad453ed43;hp=08c451161ee7ae208b9370656e098e1dfd00a5a3;hpb=ce3cf0da7948e0922eb96c622afc5126326d73d7;p=ircu2.10.12-pk.git diff --git a/ircd/s_bsd.c b/ircd/s_bsd.c index 08c4511..d807f2b 100644 --- a/ircd/s_bsd.c +++ b/ircd/s_bsd.c @@ -626,11 +626,12 @@ void add_connection(struct Listener* listener, int fd) { * * If they're throttled, murder them, but tell them why first. */ - if (!IPcheck_local_connect(addr.sin_addr, &next_target) && !listener->server) { + if (!IPcheck_local_connect(addr.sin_addr, &next_target) && !listener->server) + { ++ServerStats->is_ref; - write(fd, throttle_message, strlen(throttle_message)); - close(fd); - return; + write(fd, throttle_message, strlen(throttle_message)); + close(fd); + return; } new_client = make_client(0, ((listener->server) ?