Remove TODO. No message will be shown if an avatar is blocked.
This commit is contained in:
@@ -1569,9 +1569,6 @@ ServerLobbyThread::CheckAvatarBlacklist(SessionWrapper session)
|
|||||||
void
|
void
|
||||||
ServerLobbyThread::AvatarBlacklisted(unsigned playerId)
|
ServerLobbyThread::AvatarBlacklisted(unsigned playerId)
|
||||||
{
|
{
|
||||||
// TODO use proper error code.
|
|
||||||
//SessionError(m_sessionManager.GetSessionByUniquePlayerId(playerId, true), ERR_NET_AVATAR_TOO_LARGE);
|
|
||||||
|
|
||||||
SessionWrapper tmpSession = m_sessionManager.GetSessionByUniquePlayerId(playerId, true);
|
SessionWrapper tmpSession = m_sessionManager.GetSessionByUniquePlayerId(playerId, true);
|
||||||
if (tmpSession.sessionData && tmpSession.playerData)
|
if (tmpSession.sessionData && tmpSession.playerData)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user