Core/Auth: removed unneeded sub query

This commit is contained in:
joschiwald
2016-09-25 18:03:50 +02:00
committed by Aokromes
parent 4064eb7f02
commit 6a0b3f8b7e
2 changed files with 3 additions and 3 deletions

View File

@@ -659,7 +659,7 @@ bool AuthSession::HandleLogonProof()
if (sConfigMgr->GetBoolDefault("WrongPass.Logging", false))
{
PreparedStatement* logstmt = LoginDatabase.GetPreparedStatement(LOGIN_INS_FALP_IP_LOGGING);
logstmt->setString(0, _accountInfo.Login);
logstmt->setUInt32(0, _accountInfo.Id);
logstmt->setString(1, GetRemoteIpAddress().to_string());
logstmt->setString(2, "Logged on failed AccountLogin due wrong password");