mirror of
https://github.com/matrix-construct/construct
synced 2024-11-20 17:01:55 +01:00
m_sasl: send information about the client connection
This commit is contained in:
parent
9299ce1371
commit
a3fa9d81a2
1 changed files with 3 additions and 0 deletions
|
@ -107,6 +107,9 @@ mr_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);
|
||||
|
||||
if (!strcmp(parv[1], "EXTERNAL") && source_p->certfp != NULL)
|
||||
sendto_server(NULL, NULL, CAP_TS6|CAP_ENCAP, NOCAPS, ":%s ENCAP * SASL %s * S %s %s", me.id,
|
||||
source_p->id, parv[1],
|
||||
|
|
Loading…
Reference in a new issue