Core/Auth: removed unneeded sub query

This commit is contained in:
joschiwald authored and Aokromes committed 2016-09-26 07:38:29 +02:00
1 parent 4064eb7f02
commit 6a0b3f8b7e
2 files changed
+3 -3

No files matched your search

+1 -1
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");