Revert wrong 06ed6af86c36869f2781bf328802214f23e3f369 and restore RA login work. Sorry :/

This commit is contained in:
VladimirMangos 2008-10-25 16:27:30 +04:00
parent 643f6af8c7
commit 85319c4a15

View file

@ -196,7 +196,7 @@ void RASocket::OnRead()
QueryResult *check = loginDatabase.PQuery(
"SELECT 1 FROM account WHERE username = '%s' AND sha_pass_hash=SHA1(CONCAT(username,':','%s'))",
login.c_str(), login.c_str(), pw.c_str());
login.c_str(), pw.c_str());
if(check)
{