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); |