summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Authenticator.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2015-09-25 13:12:55 +0200
committerMattes D <github@xoft.cz>2015-09-25 13:12:55 +0200
commit7f618199710a4159973d34b7b872fe9d8b7010b6 (patch)
tree110bd8fd9ee0f6f5b830694b5d7cc37257666988 /src/Protocol/Authenticator.cpp
parentMerge pull request #2478 from cuberite/FixArmBuild (diff)
parentNamechange to Cuberite (diff)
downloadcuberite-7f618199710a4159973d34b7b872fe9d8b7010b6.tar
cuberite-7f618199710a4159973d34b7b872fe9d8b7010b6.tar.gz
cuberite-7f618199710a4159973d34b7b872fe9d8b7010b6.tar.bz2
cuberite-7f618199710a4159973d34b7b872fe9d8b7010b6.tar.lz
cuberite-7f618199710a4159973d34b7b872fe9d8b7010b6.tar.xz
cuberite-7f618199710a4159973d34b7b872fe9d8b7010b6.tar.zst
cuberite-7f618199710a4159973d34b7b872fe9d8b7010b6.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";