]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - src/send.c
Added channel::host_in_topic.
[irc/rqf/shadowircd.git] / src / send.c
index 84b7fb7132e29cb2f4af648a5697eb7be5e20219..4aebff91459fb26aa2cc4431b9f507b2a2a4ae3e 100644 (file)
@@ -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;