diff options
author | silinoron <none@none> | 2010-08-16 19:28:50 -0700 |
---|---|---|
committer | silinoron <none@none> | 2010-08-16 19:28:50 -0700 |
commit | c0c9350eeb6a2e1cfb04df6d3e2abcf7343c486a (patch) | |
tree | 3a3b8b81b262ccce30573c4d2e0d3a5245986079 | |
parent | 58b6090efd89dd01312d66a6b1f53094cc534f21 (diff) |
Send the right data when trying to log in with the wrong password.
Thanks VladimirMangos.
--HG--
branch : trunk
-rw-r--r-- | src/server/authserver/Server/AuthSocket.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/authserver/Server/AuthSocket.cpp b/src/server/authserver/Server/AuthSocket.cpp index bf3fc11823c..de8c81e7805 100644 --- a/src/server/authserver/Server/AuthSocket.cpp +++ b/src/server/authserver/Server/AuthSocket.cpp @@ -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 ()); |