Core/Auth: removed unneeded sub query
This commit is contained in:
1 parent
4064eb7f02
commit
6a0b3f8b7e
2 files changed
+3
-3
No files matched your search
@@ -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");
|
||||
|
||||
|
||||
Reference in new issue
Block a user