summaryrefslogtreecommitdiffstats
path: root/src/Server.cpp
diff options
context:
space:
mode:
authordaniel0916 <theschokolps@gmail.com>2014-04-13 13:04:56 +0200
committerdaniel0916 <theschokolps@gmail.com>2014-04-13 13:04:56 +0200
commitb506a7407661c0527255466cf8b315824b0003c0 (patch)
treec1a08a8c495fdd9e25fbcabbc5c072efb5470798 /src/Server.cpp
parentUpdated the NetherFort prefabs to current Gallery contents. (diff)
downloadcuberite-b506a7407661c0527255466cf8b315824b0003c0.tar
cuberite-b506a7407661c0527255466cf8b315824b0003c0.tar.gz
cuberite-b506a7407661c0527255466cf8b315824b0003c0.tar.bz2
cuberite-b506a7407661c0527255466cf8b315824b0003c0.tar.lz
cuberite-b506a7407661c0527255466cf8b315824b0003c0.tar.xz
cuberite-b506a7407661c0527255466cf8b315824b0003c0.tar.zst
cuberite-b506a7407661c0527255466cf8b315824b0003c0.zip
Diffstat (limited to '')
-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[]