X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/6ce8910d97424320108dc438325c044f0060ab27..45b9f1cbc0e0be0cc8801be9f61796fa603ad462:/src/send.c diff --git a/src/send.c b/src/send.c index 84b7fb7..4aebff9 100644 --- a/src/send.c +++ b/src/send.c @@ -85,10 +85,7 @@ _send_linebuf(struct Client *to, buf_head_t *linebuf) get_sendq(to)); } - if(IsClient(to)) - to->flags |= FLAGS_SENDQEX; - - dead_link(to); + dead_link(to, 1); return -1; } else @@ -200,7 +197,7 @@ send_queued(struct Client *to) if(retlen == 0 || (retlen < 0 && !rb_ignore_errno(errno))) { - dead_link(to); + dead_link(to, 0); return; } } @@ -542,8 +539,6 @@ sendto_channel_opmod(struct Client *one, struct Client *source_p, struct Channel *chptr, const char *command, const char *text) { - static char buf[BUFSIZE]; - va_list args; buf_head_t rb_linebuf_local; buf_head_t rb_linebuf_old; buf_head_t rb_linebuf_new;