diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-09-06 19:36:59 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-09-06 19:36:59 +0200 |
commit | 0ba2be666f68dda7a76d28e7cd8c74812c501d9f (patch) | |
tree | bf0795f7b89dd956bf4a4cfa002f7ef009915c38 /source/Protocol125.cpp | |
parent | Removed excessive debug logging in cProtocol132 (diff) | |
download | cuberite-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/Protocol125.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/source/Protocol125.cpp b/source/Protocol125.cpp index 7047f1f30..1927013da 100644 --- a/source/Protocol125.cpp +++ b/source/Protocol125.cpp @@ -756,6 +756,17 @@ void cProtocol125::SendWindowOpen(char a_WindowID, char a_WindowType, const AStr +AString cProtocol125::GetAuthServerID(void)
+{
+ // http://wiki.vg/wiki/index.php?title=Session&oldid=2262
+ // The server generates a random hash and that is used for all clients, unmodified
+ return cRoot::Get()->GetServer()->GetServerID();
+}
+
+
+
+
+
void cProtocol125::SendData(const char * a_Data, int a_Size)
{
m_Client->SendData(a_Data, a_Size);
|