summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Authenticator.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2015-09-25 10:14:17 +0200
committerMattes D <github@xoft.cz>2015-09-25 10:14:17 +0200
commit82d9ac1e1c95eb3421e062be2334308ee3837560 (patch)
tree110bd8fd9ee0f6f5b830694b5d7cc37257666988 /src/Protocol/Authenticator.cpp
parentMerge pull request #2478 from cuberite/FixArmBuild (diff)
downloadcuberite-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.cpp4
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";