Fixed compilation and some copy paste error

This commit is contained in:
leak committed 2014-07-04 15:20:23 +02:00
1 parent 151785b9ce
commit 4f2f9e08f8
3 files changed
+2 -4

No files matched your search

+1 -1
View File
@@ -595,7 +595,7 @@ bool AuthSession::_HandleLogonProof()
uint32 MaxWrongPassCount = sConfigMgr->GetIntDefault("WrongPass.MaxCount", 0);
// We can not include the failed account login hook. However, this is a workaround to still log this.
if (sConfigMgr->GetBoolDefault("Additional.IP.Based.Login.Logging", false))
if (sConfigMgr->GetBoolDefault("Wrong.Password.Login.Logging", false))
{
PreparedStatement* logstmt = LoginDatabase.GetPreparedStatement(LOGIN_INS_FALP_IP_LOGGING);
logstmt->setString(0, _login);