summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorMantas Mikulėnas <grawity@gmail.com>2014-01-11 23:41:16 +0200
committerMantas Mikulėnas <grawity@gmail.com>2014-01-11 23:41:20 +0200
commitfd57589b17c7eb5d29346651dd354b790454c68e (patch)
treea4d28ab9cb289e58b82e3dfe106c38d6371da4b6 /src/modules
parent7ce26772d93115e7c0a2644007351b57030710e6 (diff)
Handle SASL failures during SASL_INIT (wrong mechanism, etc.)
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_sasl.cpp3
1 files changed, 1 insertions, 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;