From 1cae2411d76e5d1a67b5b7594899df85cedce24b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mantas=20Mikul=C4=97nas?= Date: Fri, 6 Mar 2015 17:18:54 +0200 Subject: [PATCH] sasl: adjust 'H' message following commit 7d33cce8efb --- modules/m_sasl.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/m_sasl.c b/modules/m_sasl.c index 160c4eaf3..cc8665657 100644 --- a/modules/m_sasl.c +++ b/modules/m_sasl.c @@ -122,8 +122,9 @@ m_authenticate(struct Client *client_p, struct Client *source_p, if(agent_p == NULL) { - sendto_server(NULL, NULL, CAP_TS6|CAP_ENCAP, NOCAPS, ":%s ENCAP * SASL %s * H %s %s", me.id, - source_p->id, source_p->host, source_p->sockhost); + sendto_one(saslserv_p, ":%s ENCAP %s SASL %s %s H %s %s", + me.id, saslserv_p->servptr->name, source_p->id, saslserv_p->id, + source_p->host, source_p->sockhost); if (!strcmp(parv[1], "EXTERNAL") && source_p->certfp != NULL) sendto_one(saslserv_p, ":%s ENCAP %s SASL %s %s S %s %s", me.id, saslserv_p->servptr->name,