summaryrefslogtreecommitdiffstats
path: root/src/Server.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-04-15 08:16:16 +0200
committerMattes D <github@xoft.cz>2014-04-15 08:16:16 +0200
commit112dd2c5ec60b55807f73ada7057488a98e769a5 (patch)
tree7fe960574b01b1bc1b76327a3f163fd2f69d06ce /src/Server.cpp
parentProtoProxy: Fixed weird gcc compilation errors. (diff)
parentImplemented the 1.7.6 protocol and authenticator. (diff)
downloadcuberite-112dd2c5ec60b55807f73ada7057488a98e769a5.tar
cuberite-112dd2c5ec60b55807f73ada7057488a98e769a5.tar.gz
cuberite-112dd2c5ec60b55807f73ada7057488a98e769a5.tar.bz2
cuberite-112dd2c5ec60b55807f73ada7057488a98e769a5.tar.lz
cuberite-112dd2c5ec60b55807f73ada7057488a98e769a5.tar.xz
cuberite-112dd2c5ec60b55807f73ada7057488a98e769a5.tar.zst
cuberite-112dd2c5ec60b55807f73ada7057488a98e769a5.zip
Diffstat (limited to 'src/Server.cpp')
-rw-r--r--src/Server.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Server.cpp b/src/Server.cpp
index d1e53bfff..e0feaf0d8 100644
--- a/src/Server.cpp
+++ b/src/Server.cpp
@@ -615,14 +615,14 @@ void cServer::KickUser(int a_ClientID, const AString & a_Reason)
-void cServer::AuthenticateUser(int a_ClientID)
+void cServer::AuthenticateUser(int a_ClientID, const AString & a_Name, const AString & a_UUID)
{
cCSLock Lock(m_CSClients);
for (ClientList::iterator itr = m_Clients.begin(); itr != m_Clients.end(); ++itr)
{
if ((*itr)->GetUniqueID() == a_ClientID)
{
- (*itr)->Authenticate();
+ (*itr)->Authenticate(a_Name, a_UUID);
return;
}
} // for itr - m_Clients[]