From dbd8ca2bf63f7d1c944e665626ff74f6de9489bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mantas=20Mikul=C4=97nas?= Date: Sun, 12 Jan 2014 00:18:58 +0200 Subject: [PATCH] sasl: send RPL_SASLMECHS --- modules/m_sasl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/m_sasl.c b/modules/m_sasl.c index 8dbbf0e7..756af1ff 100644 --- a/modules/m_sasl.c +++ b/modules/m_sasl.c @@ -172,6 +172,8 @@ me_sasl(struct Client *client_p, struct Client *source_p, } *target_p->preClient->sasl_agent = '\0'; /* Blank the stored agent so someone else can answer */ } + else if(*parv[3] == 'M') + sendto_one(target_p, form_str(RPL_SASLMECHS), me.name, EmptyString(target_p->name) ? "*" : target_p->name, parv[4]); return 0; }