From 137cfa4f77f1e8c124b168a8c4b295f26ac56452 Mon Sep 17 00:00:00 2001 From: Shauren Date: Fri, 17 Sep 2010 13:52:46 +0200 Subject: Authserver: Fixed crash when accounts limited to ip tried to login and fixes compile on gcc 4.5, thx Kondziu for pointing it out Closes issue #3976. Closes issue #4011. --HG-- branch : trunk --- src/server/authserver/Server/AuthSocket.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server/authserver/Server/AuthSocket.cpp') diff --git a/src/server/authserver/Server/AuthSocket.cpp b/src/server/authserver/Server/AuthSocket.cpp index cff374a4b97..d908f60ef52 100644 --- a/src/server/authserver/Server/AuthSocket.cpp +++ b/src/server/authserver/Server/AuthSocket.cpp @@ -387,7 +387,7 @@ bool AuthSocket::_HandleLogonChallenge() bool locked = false; if (res2->GetUInt8(2) == 1) // if ip is locked { - sLog.outStaticDebug("[AuthChallenge] Account '%s' is locked to IP - '%s'", _login.c_str(), res2->GetString(3)); + sLog.outStaticDebug("[AuthChallenge] Account '%s' is locked to IP - '%s'", _login.c_str(), res2->GetCString(3)); sLog.outStaticDebug("[AuthChallenge] Player address is '%s'", ip_address.c_str()); if (strcmp(res2->GetCString(3), ip_address.c_str())) { -- cgit v1.2.3