diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-07-14 20:49:31 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-07-14 20:49:31 +0200 |
commit | 4e24f711abd3d6a93f01ee7c297eb67c8aedbd37 (patch) | |
tree | 8b9c4ada0a310717932fcbeda10e0d4f8cc5d8bc /src/Server.cpp | |
parent | Only one instance of server can be started (diff) | |
download | cuberite-4e24f711abd3d6a93f01ee7c297eb67c8aedbd37.tar cuberite-4e24f711abd3d6a93f01ee7c297eb67c8aedbd37.tar.gz cuberite-4e24f711abd3d6a93f01ee7c297eb67c8aedbd37.tar.bz2 cuberite-4e24f711abd3d6a93f01ee7c297eb67c8aedbd37.tar.lz cuberite-4e24f711abd3d6a93f01ee7c297eb67c8aedbd37.tar.xz cuberite-4e24f711abd3d6a93f01ee7c297eb67c8aedbd37.tar.zst cuberite-4e24f711abd3d6a93f01ee7c297eb67c8aedbd37.zip |
Diffstat (limited to 'src/Server.cpp')
-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..8b479292e 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 AString & 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[] |