From 8f087b76e032230e30b01f100b380d48aa68868f Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 22 Mar 2008 00:13:18 +0000 Subject: 'AUTHENTICATE C'? Why not authenticate C++ :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9169 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_sasl.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/modules/m_sasl.cpp b/src/modules/m_sasl.cpp index 05206784c..ebb8b8480 100644 --- a/src/modules/m_sasl.cpp +++ b/src/modules/m_sasl.cpp @@ -70,19 +70,19 @@ class SaslAuthenticator { case SASL_INIT: this->agent = msg[1]; - this->user->Write("AUTHENTICATE %s", msg[4].c_str()); + this->user->Write("AUTHENTICATE %s", msg[5].c_str()); this->state = SASL_COMM; break; case SASL_COMM: if (msg[1] != this->agent) return this->state; - if (msg[3] != "D") - this->user->Write("AUTHENTICATE %s", msg[4].c_str()); + if (msg[4] != "D") + this->user->Write("AUTHENTICATE %s", msg[5].c_str()); else { this->state = SASL_DONE; - this->result = this->GetSaslResult(msg[4]); + this->result = this->GetSaslResult(msg[5]); this->AnnounceState(); } -- cgit v1.2.3