From 0ba2be666f68dda7a76d28e7cd8c74812c501d9f Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Thu, 6 Sep 2012 17:36:59 +0000 Subject: Added protocol-specific authentication, now works for both 1.2.5 and 1.3.2 git-svn-id: http://mc-server.googlecode.com/svn/trunk@841 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cAuthenticator.h | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'source/cAuthenticator.h') diff --git a/source/cAuthenticator.h b/source/cAuthenticator.h index 0d69e930e..4d0bd1bbb 100644 --- a/source/cAuthenticator.h +++ b/source/cAuthenticator.h @@ -50,11 +50,16 @@ private: class cUser { public: - int mClientID; - AString mName; - AString mServerHash; + int m_ClientID; + AString m_Name; + AString m_ServerID; - cUser(int a_ClientID, const AString & a_Name, const AString & a_ServerHash) : mClientID(a_ClientID), mName(a_Name), mServerHash(a_ServerHash) {} + cUser(int a_ClientID, const AString & a_Name, const AString & a_ServerID) : + m_ClientID(a_ClientID), + m_Name(a_Name), + m_ServerID(a_ServerID) + { + } } ; typedef std::deque cUserList; -- cgit v1.2.3