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
This commit is contained in:
brain 2008-03-21 23:51:02 +00:00
parent 1428fd4f61
commit 0471d95aa8

View File

@ -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;