diff options
| author | Shauren <none@none> | 2010-09-17 13:52:46 +0200 |
|---|---|---|
| committer | Shauren <none@none> | 2010-09-17 13:52:46 +0200 |
| commit | 137cfa4f77f1e8c124b168a8c4b295f26ac56452 (patch) | |
| tree | 60badbdfbb5c16e2798633ada3b3bec9afdffe39 /src/server/authserver/Server/AuthSocket.cpp | |
| parent | dd1521aa557fa3db62b865b3ed607a70da18d9cd (diff) | |
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
Diffstat (limited to 'src/server/authserver/Server/AuthSocket.cpp')
| -rw-r--r-- | src/server/authserver/Server/AuthSocket.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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())) { |
