diff options
author | Mattes D <github@xoft.cz> | 2015-09-25 10:14:17 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2015-09-25 10:14:17 +0200 |
commit | 82d9ac1e1c95eb3421e062be2334308ee3837560 (patch) | |
tree | 110bd8fd9ee0f6f5b830694b5d7cc37257666988 /src/Protocol/Authenticator.cpp | |
parent | Merge pull request #2478 from cuberite/FixArmBuild (diff) | |
download | cuberite-82d9ac1e1c95eb3421e062be2334308ee3837560.tar cuberite-82d9ac1e1c95eb3421e062be2334308ee3837560.tar.gz cuberite-82d9ac1e1c95eb3421e062be2334308ee3837560.tar.bz2 cuberite-82d9ac1e1c95eb3421e062be2334308ee3837560.tar.lz cuberite-82d9ac1e1c95eb3421e062be2334308ee3837560.tar.xz cuberite-82d9ac1e1c95eb3421e062be2334308ee3837560.tar.zst cuberite-82d9ac1e1c95eb3421e062be2334308ee3837560.zip |
Diffstat (limited to 'src/Protocol/Authenticator.cpp')
-rw-r--r-- | src/Protocol/Authenticator.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Protocol/Authenticator.cpp b/src/Protocol/Authenticator.cpp index bfbe5028d..304486935 100644 --- a/src/Protocol/Authenticator.cpp +++ b/src/Protocol/Authenticator.cpp @@ -149,7 +149,7 @@ bool cAuthenticator::AuthWithYggdrasil(AString & a_UserName, const AString & a_S AString Request; Request += "GET " + ActualAddress + " HTTP/1.0\r\n"; Request += "Host: " + m_Server + "\r\n"; - Request += "User-Agent: MCServer\r\n"; + Request += "User-Agent: Cuberite\r\n"; Request += "Connection: close\r\n"; Request += "\r\n"; @@ -223,7 +223,7 @@ bool cAuthenticator::GetPlayerProperties(const AString & a_UUID, Json::Value & a AString Request; Request += "GET " + ActualAddress + " HTTP/1.0\r\n"; Request += "Host: " + m_Server + "\r\n"; - Request += "User-Agent: MCServer\r\n"; + Request += "User-Agent: Cuberite\r\n"; Request += "Connection: close\r\n"; Request += "\r\n"; |