mirror of
https://github.com/matrix-construct/construct
synced 2024-09-08 17:55:47 +02:00
sasl: reformat the other messages consistently
This commit is contained in:
parent
1cae2411d7
commit
6fb9f21449
1 changed files with 8 additions and 8 deletions
|
@ -127,19 +127,19 @@ m_authenticate(struct Client *client_p, struct Client *source_p,
|
||||||
source_p->host, source_p->sockhost);
|
source_p->host, source_p->sockhost);
|
||||||
|
|
||||||
if (!strcmp(parv[1], "EXTERNAL") && source_p->certfp != NULL)
|
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,
|
sendto_one(saslserv_p, ":%s ENCAP %s SASL %s %s S %s %s",
|
||||||
source_p->id, saslserv_p->id,
|
me.id, saslserv_p->servptr->name, source_p->id, saslserv_p->id,
|
||||||
parv[1], source_p->certfp);
|
parv[1], source_p->certfp);
|
||||||
else
|
else
|
||||||
sendto_one(saslserv_p, ":%s ENCAP %s SASL %s %s S %s", me.id, saslserv_p->servptr->name,
|
sendto_one(saslserv_p, ":%s ENCAP %s SASL %s %s S %s",
|
||||||
source_p->id, saslserv_p->id,
|
me.id, saslserv_p->servptr->name, source_p->id, saslserv_p->id,
|
||||||
parv[1]);
|
parv[1]);
|
||||||
|
|
||||||
rb_strlcpy(source_p->localClient->sasl_agent, saslserv_p->id, IDLEN);
|
rb_strlcpy(source_p->localClient->sasl_agent, saslserv_p->id, IDLEN);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
sendto_one(agent_p, ":%s ENCAP %s SASL %s %s C %s", me.id, agent_p->servptr->name,
|
sendto_one(agent_p, ":%s ENCAP %s SASL %s %s C %s",
|
||||||
source_p->id, agent_p->id,
|
me.id, agent_p->servptr->name, source_p->id, agent_p->id,
|
||||||
parv[1]);
|
parv[1]);
|
||||||
source_p->localClient->sasl_out++;
|
source_p->localClient->sasl_out++;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue