Compile fix for recently added coding accessing socket information

This commit is contained in:
leak
2014-06-24 17:41:43 +02:00
parent 393b7eef53
commit a20ac4c25b

View File

@@ -599,7 +599,7 @@ bool AuthSession::_HandleLogonProof()
{
PreparedStatement* logstmt = LoginDatabase.GetPreparedStatement(LOGIN_INS_FALP_IP_LOGGING);
logstmt->setString(0, _login);
logstmt->setString(1, socket().getRemoteAddress());
logstmt->setString(1, GetRemoteIpAddress());
logstmt->setString(2, "Logged on failed AccountLogin due wrong password");
LoginDatabase.Execute(logstmt);