X-Git-Url: http://git.pk910.de/?p=ircu2.10.12-pk.git;a=blobdiff_plain;f=ircd%2Fsend.c;h=921b37db28559e11c4e8ccd33bb05e6618964286;hp=ff8d1158b0f0b06e25fbdaae4c539c4b0d3c64a1;hb=5fc729d47823a57c8e6e0e3b078522eccd120ca7;hpb=98c74ba6a77e8f110f03252eead8cd37e7ecc83e diff --git a/ircd/send.c b/ircd/send.c index ff8d115..921b37d 100644 --- 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); - 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.