Send the right data when trying to log in with the wrong password.

Thanks VladimirMangos.

--HG--
branch : trunk
This commit is contained in:
silinoron
2010-08-16 19:28:50 -07:00
parent 58b6090efd
commit c0c9350eeb

View File

@@ -645,7 +645,7 @@ bool AuthSocket::_HandleLogonProof()
}
else
{
char data[4]= { AUTH_LOGON_PROOF, WOW_FAIL_UNKNOWN_ACCOUNT, 3, 0};
char data[4]= { AUTH_LOGON_PROOF, WOW_FAIL_INCORRECT_PASSWORD, 3, 0};
socket().send(data, sizeof(data));
sLog.outBasic("[AuthChallenge] account %s tried to login with wrong password!",_login.c_str ());