From fd57589b17c7eb5d29346651dd354b790454c68e Mon Sep 17 00:00:00 2001 From: Mantas Mikulėnas Date: Sat, 11 Jan 2014 23:41:16 +0200 Subject: Handle SASL failures during SASL_INIT (wrong mechanism, etc.) --- src/modules/m_sasl.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/modules/m_sasl.cpp b/src/modules/m_sasl.cpp index b67111987..64960448e 100644 --- a/src/modules/m_sasl.cpp +++ b/src/modules/m_sasl.cpp @@ -93,9 +93,8 @@ class SaslAuthenticator { case SASL_INIT: this->agent = msg[0]; - this->user->Write("AUTHENTICATE %s", msg[3].c_str()); this->state = SASL_COMM; - break; + /* fall through */ case SASL_COMM: if (msg[0] != this->agent) return this->state; -- cgit v1.2.3