X-Git-Url: http://git.pk910.de/?p=ircu2.10.12-pk.git;a=blobdiff_plain;f=ircd%2Fs_bsd.c;fp=ircd%2Fs_bsd.c;h=542a41224a4c0f3143bc7b7082a4d58419d4a81c;hp=fb842764a4152c36de12749765db47110bcb908e;hb=0c50183c885701a84e7369ca05739fec052b7ecc;hpb=96f1ae9c934d475960c2aa6b3b4f1336c37833c2 diff --git a/ircd/s_bsd.c b/ircd/s_bsd.c index fb84276..542a412 100644 --- a/ircd/s_bsd.c +++ b/ircd/s_bsd.c @@ -967,7 +967,9 @@ void client_sock_callback(struct Event* ev) assert(0 == cptr || 0 == cli_connect(cptr) || con == cli_connect(cptr)); - if (fallback) { + if (fallback && IsKeepConnEnabled(cptr)) { + zombie_client(&me, &me, cptr); + } else if (fallback) { const char* msg = (cli_error(cptr)) ? strerror(cli_error(cptr)) : fallback; if (!msg) msg = "Unknown error";