projects
/
ircu2.10.12-pk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
implemented custom KeepConn Time Mode (+K <time>) and relay command for external...
[ircu2.10.12-pk.git]
/
ircd
/
s_bsd.c
diff --git
a/ircd/s_bsd.c
b/ircd/s_bsd.c
index fb842764a4152c36de12749765db47110bcb908e..542a41224a4c0f3143bc7b7082a4d58419d4a81c 100644
(file)
--- 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));
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";
const char* msg = (cli_error(cptr)) ? strerror(cli_error(cptr)) : fallback;
if (!msg)
msg = "Unknown error";