summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Authenticator.cpp
diff options
context:
space:
mode:
authorSafwat Halaby <SafwatHalaby@users.noreply.github.com>2015-09-25 12:49:18 +0200
committerSafwat Halaby <SafwatHalaby@users.noreply.github.com>2015-09-25 14:11:39 +0200
commitf1270cb7a1e70b29579380ad30d3fa5c4d41ee93 (patch)
tree5ce66d38d71c315ef7c91c0f55d7175bbe5db628 /src/Protocol/Authenticator.cpp
parentMerge pull request #2478 from cuberite/FixArmBuild (diff)
downloadcuberite-f1270cb7a1e70b29579380ad30d3fa5c4d41ee93.tar
cuberite-f1270cb7a1e70b29579380ad30d3fa5c4d41ee93.tar.gz
cuberite-f1270cb7a1e70b29579380ad30d3fa5c4d41ee93.tar.bz2
cuberite-f1270cb7a1e70b29579380ad30d3fa5c4d41ee93.tar.lz
cuberite-f1270cb7a1e70b29579380ad30d3fa5c4d41ee93.tar.xz
cuberite-f1270cb7a1e70b29579380ad30d3fa5c4d41ee93.tar.zst
cuberite-f1270cb7a1e70b29579380ad30d3fa5c4d41ee93.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";