summaryrefslogtreecommitdiff
path: root/src/send.c
diff options
context:
space:
mode:
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2012-11-04 15:37:10 +0000
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2012-11-04 15:37:10 +0000
commit90aeacbf12d63dcd628caed461bd744639603d76 (patch)
tree5eb5c2aa3fd576ac33d84d2911482a3f200c1bea /src/send.c
parent8daa0e2a6fe61e95dc2dd145ebbdb2b05c097196 (diff)
- Initial rewrite of the configuration subsystem
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1632 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'src/send.c')
-rw-r--r--src/send.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/send.c b/src/send.c
index 53804b3..903f089 100644
--- a/src/send.c
+++ b/src/send.c
@@ -106,14 +106,14 @@ send_message(struct Client *to, char *buf, int len)
assert(!IsMe(to));
assert(to != &me);
- if (dbuf_length(&to->localClient->buf_sendq) + len > get_sendq(to))
+ if (dbuf_length(&to->localClient->buf_sendq) + len > get_sendq(&to->localClient->confs))
{
if (IsServer(to))
sendto_realops_flags(UMODE_ALL, L_ALL, SEND_NOTICE,
"Max SendQ limit exceeded for %s: %lu > %lu",
get_client_name(to, HIDE_IP),
(unsigned long)(dbuf_length(&to->localClient->buf_sendq) + len),
- get_sendq(to));
+ get_sendq(&to->localClient->confs));
if (IsClient(to))
SetSendQExceeded(to);
dead_link_on_write(to, 0);