diff options
author | madmaxoft <github@xoft.cz> | 2014-04-14 18:53:56 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-04-14 18:53:56 +0200 |
commit | ffe65b6a184224d4684f08bcbba01d1ce92d7236 (patch) | |
tree | 7cc93ae32afcafa6f4c6cc5f630ec1b50dc6f0b0 /src/Server.cpp | |
parent | Initial 1.7.6 protocol support. (diff) | |
parent | Fixed mistake (diff) | |
download | cuberite-ffe65b6a184224d4684f08bcbba01d1ce92d7236.tar cuberite-ffe65b6a184224d4684f08bcbba01d1ce92d7236.tar.gz cuberite-ffe65b6a184224d4684f08bcbba01d1ce92d7236.tar.bz2 cuberite-ffe65b6a184224d4684f08bcbba01d1ce92d7236.tar.lz cuberite-ffe65b6a184224d4684f08bcbba01d1ce92d7236.tar.xz cuberite-ffe65b6a184224d4684f08bcbba01d1ce92d7236.tar.zst cuberite-ffe65b6a184224d4684f08bcbba01d1ce92d7236.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 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[] |