diff options
author | Mattes D <github@xoft.cz> | 2014-07-16 13:30:57 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-07-16 13:30:57 +0200 |
commit | e444106d0924b1faecc61e50ca27a1d9c7fd7c9f (patch) | |
tree | 3d3aa66b0bf8ed4063fbda9ce2ddef62d9185fab /src/Server.cpp | |
parent | Fixed a DropSpenser AddFace bug (diff) | |
parent | Suggestions (diff) | |
download | cuberite-e444106d0924b1faecc61e50ca27a1d9c7fd7c9f.tar cuberite-e444106d0924b1faecc61e50ca27a1d9c7fd7c9f.tar.gz cuberite-e444106d0924b1faecc61e50ca27a1d9c7fd7c9f.tar.bz2 cuberite-e444106d0924b1faecc61e50ca27a1d9c7fd7c9f.tar.lz cuberite-e444106d0924b1faecc61e50ca27a1d9c7fd7c9f.tar.xz cuberite-e444106d0924b1faecc61e50ca27a1d9c7fd7c9f.tar.zst cuberite-e444106d0924b1faecc61e50ca27a1d9c7fd7c9f.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Server.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Server.cpp b/src/Server.cpp index 9220731eb..17551eeb1 100644 --- a/src/Server.cpp +++ b/src/Server.cpp @@ -656,14 +656,14 @@ void cServer::KickUser(int a_ClientID, const AString & a_Reason) -void cServer::AuthenticateUser(int a_ClientID, const AString & a_Name, const AString & a_UUID) +void cServer::AuthenticateUser(int a_ClientID, const AString & a_Name, const AString & a_UUID, const Json::Value & a_Properties) { cCSLock Lock(m_CSClients); for (ClientList::iterator itr = m_Clients.begin(); itr != m_Clients.end(); ++itr) { if ((*itr)->GetUniqueID() == a_ClientID) { - (*itr)->Authenticate(a_Name, a_UUID); + (*itr)->Authenticate(a_Name, a_UUID, a_Properties); return; } } // for itr - m_Clients[] |