summaryrefslogtreecommitdiff
path: root/src/modules/m_sasl.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-03-21 23:51:02 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-03-21 23:51:02 +0000
commit0471d95aa86b1e19e6346a0dd058fb8a5243d049 (patch)
tree655bc8558b311fc0e1ae297c992cdd957d9ce8cc /src/modules/m_sasl.cpp
parent1428fd4f61b5c994a40d1b2ba433fc7453a7899f (diff)
Removal of server prefix from AUTHENTICATE reply, patch courtesy of nenolod
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9167 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_sasl.cpp')
-rw-r--r--src/modules/m_sasl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_sasl.cpp b/src/modules/m_sasl.cpp
index 869e0b558..97bb6ff88 100644
--- a/src/modules/m_sasl.cpp
+++ b/src/modules/m_sasl.cpp
@@ -70,7 +70,7 @@ class SaslAuthenticator
{
case SASL_INIT:
this->agent = msg[1];
- this->user->WriteServ("AUTHENTICATE %s", msg[4].c_str());
+ this->user->Write("AUTHENTICATE %s", msg[4].c_str());
this->state = SASL_COMM;
break;
case SASL_COMM:
@@ -78,7 +78,7 @@ class SaslAuthenticator
return this->state;
if (msg[3] != "D")
- this->user->WriteServ("AUTHENTICATE %s", msg[4].c_str());
+ this->user->Write("AUTHENTICATE %s", msg[4].c_str());
else
{
this->state = SASL_DONE;