From a6319bf7d84f39e4b85dd59e3935772d14dc3c7f Mon Sep 17 00:00:00 2001 From: lotodore Date: Tue, 13 Oct 2009 21:24:58 +0000 Subject: [PATCH] Still trying to make gsasl work. --- src/net/common/serverlobbythread.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/net/common/serverlobbythread.cpp b/src/net/common/serverlobbythread.cpp index 8144650a..77b2aad7 100644 --- a/src/net/common/serverlobbythread.cpp +++ b/src/net/common/serverlobbythread.cpp @@ -919,6 +919,8 @@ ServerLobbyThread::HandleNetPacketInit(SessionWrapper session, const InitMessage authData = string((const char *)authLogin->clientUserData.buf, authLogin->clientUserData.size); if (authLogin->avatar) memcpy(avatarMD5.data, authLogin->avatar->buf, MD5_DATA_SIZE); + // TODO + playerName = "testuser"; } else SessionError(session, ERR_NET_INVALID_PASSWORD); @@ -969,7 +971,7 @@ ServerLobbyThread::HandleNetPacketInit(SessionWrapper session, const InitMessage if (guestUser) InitAfterLogin(session); else - AuthenticatePlayer(session, /*authData*/"testuser"); + AuthenticatePlayer(session, authData); } void