summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/client/cl_curl.c3
-rw-r--r--src/client/cl_main.c2
2 files changed, 1 insertions, 4 deletions
diff --git a/src/client/cl_curl.c b/src/client/cl_curl.c
index 166fb1dc..996feaea 100644
--- a/src/client/cl_curl.c
+++ b/src/client/cl_curl.c
@@ -288,8 +288,7 @@ void CL_cURL_BeginDownload( const char *localName, const char *remoteURL )
qcurl_easy_setopt_warn(clc.downloadCURL, CURLOPT_TRANSFERTEXT, 0);
qcurl_easy_setopt_warn(clc.downloadCURL, CURLOPT_REFERER,
va("Tremulous://%s", NET_AdrToString(clc.serverAddress)));
- qcurl_easy_setopt_warn(clc.downloadCURL, CURLOPT_USERAGENT, va("%s %s",
- Q3_VERSION, qcurl_version()));
+ qcurl_easy_setopt_warn(clc.downloadCURL, CURLOPT_USERAGENT, PRODUCT_NAME);
qcurl_easy_setopt_warn(clc.downloadCURL, CURLOPT_WRITEFUNCTION,
CL_cURL_CallbackWrite);
qcurl_easy_setopt_warn(clc.downloadCURL, CURLOPT_WRITEDATA, &clc.download);
diff --git a/src/client/cl_main.c b/src/client/cl_main.c
index 67739c4b..00dc6640 100644
--- a/src/client/cl_main.c
+++ b/src/client/cl_main.c
@@ -1545,8 +1545,6 @@ void CL_RequestMotd( void ) {
"%i", ((rand() << 16) ^ rand()) ^ Com_Milliseconds());
Info_SetValueForKey( info, "challenge", cls.updateChallenge );
- Info_SetValueForKey( info, "renderer", cls.glconfig.renderer_string );
- Info_SetValueForKey( info, "version", com_version->string );
NET_OutOfBandPrint( NS_CLIENT, cls.updateServer, "getmotd%s", info );
}