summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-03-22 00:13:18 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-03-22 00:13:18 +0000
commit8f087b76e032230e30b01f100b380d48aa68868f (patch)
tree99f179820b9bb3bcce9daef2a0f84bc032cd2b19 /src
parent96e1769b33a746ef30222444fe21752c3a0c3089 (diff)
'AUTHENTICATE C'? Why not authenticate C++ :)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9169 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_sasl.cpp8
1 files changed, 4 insertions, 4 deletions
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();
}