From a3fa9d81a23044ea404c07fb4cf3c0f7780394c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mantas=20Mikul=C4=97nas?= Date: Fri, 13 Feb 2015 22:16:53 +0200 Subject: [PATCH] m_sasl: send information about the client connection --- modules/m_sasl.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/m_sasl.c b/modules/m_sasl.c index 84017523..c296b876 100644 --- a/modules/m_sasl.c +++ b/modules/m_sasl.c @@ -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],