ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/src/send.c
(Generate patch)

Comparing ircd-hybrid/trunk/src/send.c (file contents):
Revision 1618 by michael, Tue Oct 30 21:04:38 2012 UTC vs.
Revision 1632 by michael, Sun Nov 4 15:37:10 2012 UTC

# Line 106 | Line 106 | send_message(struct Client *to, char *bu
106    assert(!IsMe(to));
107    assert(to != &me);
108  
109 <  if (dbuf_length(&to->localClient->buf_sendq) + len > get_sendq(to))
109 >  if (dbuf_length(&to->localClient->buf_sendq) + len > get_sendq(&to->localClient->confs))
110    {
111      if (IsServer(to))
112        sendto_realops_flags(UMODE_ALL, L_ALL, SEND_NOTICE,
113                             "Max SendQ limit exceeded for %s: %lu > %lu",
114                             get_client_name(to, HIDE_IP),
115                             (unsigned long)(dbuf_length(&to->localClient->buf_sendq) + len),
116 <                           get_sendq(to));
116 >                           get_sendq(&to->localClient->confs));
117      if (IsClient(to))
118        SetSendQExceeded(to);
119      dead_link_on_write(to, 0);

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)