summaryrefslogtreecommitdiffstats
path: root/source/cAuthenticator.cpp
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-09-06 19:36:59 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-09-06 19:36:59 +0200
commit0ba2be666f68dda7a76d28e7cd8c74812c501d9f (patch)
treebf0795f7b89dd956bf4a4cfa002f7ef009915c38 /source/cAuthenticator.cpp
parentRemoved excessive debug logging in cProtocol132 (diff)
downloadcuberite-0ba2be666f68dda7a76d28e7cd8c74812c501d9f.tar
cuberite-0ba2be666f68dda7a76d28e7cd8c74812c501d9f.tar.gz
cuberite-0ba2be666f68dda7a76d28e7cd8c74812c501d9f.tar.bz2
cuberite-0ba2be666f68dda7a76d28e7cd8c74812c501d9f.tar.lz
cuberite-0ba2be666f68dda7a76d28e7cd8c74812c501d9f.tar.xz
cuberite-0ba2be666f68dda7a76d28e7cd8c74812c501d9f.tar.zst
cuberite-0ba2be666f68dda7a76d28e7cd8c74812c501d9f.zip
Diffstat (limited to '')
-rw-r--r--source/cAuthenticator.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/cAuthenticator.cpp b/source/cAuthenticator.cpp
index d34758c34..9d06e7f40 100644
--- a/source/cAuthenticator.cpp
+++ b/source/cAuthenticator.cpp
@@ -127,11 +127,11 @@ void cAuthenticator::Execute(void)
}
ASSERT(!m_Queue.empty());
- int ClientID = m_Queue.front().mClientID;
- AString UserName = m_Queue.front().mName;
+ int ClientID = m_Queue.front().m_ClientID;
+ AString UserName = m_Queue.front().m_Name;
AString ActualAddress = m_Address;
ReplaceString(ActualAddress, "%USERNAME%", UserName);
- ReplaceString(ActualAddress, "%SERVERID%", cRoot::Get()->GetServer()->GetServerID());
+ ReplaceString(ActualAddress, "%SERVERID%", m_Queue.front().m_ServerID);
m_Queue.pop_front();
Lock.Unlock();