summaryrefslogtreecommitdiff
path: root/src/httpfetch.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/httpfetch.cpp')
-rw-r--r--src/httpfetch.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/httpfetch.cpp b/src/httpfetch.cpp
index 40ad92da3..e17a8b187 100644
--- a/src/httpfetch.cpp
+++ b/src/httpfetch.cpp
@@ -48,7 +48,7 @@ HTTPFetchRequest::HTTPFetchRequest()
connect_timeout = timeout;
multipart = false;
- useragent = std::string("Minetest/") + minetest_version_hash + " (" + porting::get_sysinfo() + ")";
+ useragent = std::string(PROJECT_NAME "/") + g_version_hash + " (" + porting::get_sysinfo() + ")";
}