Auth/Login: Rename config key usage

Related: 193dd505
This commit is contained in:
Gacko
2015-12-19 14:34:05 +01:00
parent 193dd505fa
commit 1f839b2434

View File

@@ -588,7 +588,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("Wrong.Password.Login.Logging", false))
if (sConfigMgr->GetBoolDefault("WrongPass.Logging", false))
{
PreparedStatement* logstmt = LoginDatabase.GetPreparedStatement(LOGIN_INS_FALP_IP_LOGGING);
logstmt->setString(0, _login);