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 initial support for zombie mode by Jan Krüger <jk@jk.gs>
[ircu2.10.12-pk.git]
/
ircd
/
send.c
diff --git
a/ircd/send.c
b/ircd/send.c
index ff8d1158b0f0b06e25fbdaae4c539c4b0d3c64a1..921b37db28559e11c4e8ccd33bb05e6618964286 100644
(file)
--- a/
ircd/send.c
+++ b/
ircd/send.c
@@
-108,7
+108,7
@@
static void dead_link(struct Client *to, char *notice)
static int can_send(struct Client* to)
{
assert(0 != to);
static int can_send(struct Client* to)
{
assert(0 != to);
- return (IsDead(to) || IsMe(to) || -1 == cli_fd(to)) ? 0 : 1;
+ return (IsDead(to) || IsMe(to) ||
IsNotConn(to) ||
-1 == cli_fd(to)) ? 0 : 1;
}
/** Close the connection with the highest sendq.
}
/** Close the connection with the highest sendq.