0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-29 00:44:17 +01:00

sasl: adjust 'H' message following commit 7d33cce8ef

This commit is contained in:
Mantas Mikulėnas 2015-03-06 17:18:54 +02:00
parent 9279ad6461
commit 1cae2411d7

View file

@ -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,