summaryrefslogtreecommitdiff
path: root/src/nxmaccessmanager.cpp
diff options
context:
space:
mode:
authorSilarn <jrim@rimpo.org>2018-05-16 11:12:15 -0500
committerSilarn <jrim@rimpo.org>2018-05-16 11:14:44 -0500
commit1e6e055f398cda4ba417015fa85d6eb3eb8345fe (patch)
tree0d7db69f9455b184ddd1dc20bf607873c3a83946 /src/nxmaccessmanager.cpp
parent81e329fb39e26b396ce108d2648aab954e159951 (diff)
Add the MO user agent string to the download requests (fixes EU#1)
Diffstat (limited to 'src/nxmaccessmanager.cpp')
-rw-r--r--src/nxmaccessmanager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nxmaccessmanager.cpp b/src/nxmaccessmanager.cpp
index 05016e8f..426c8b9c 100644
--- a/src/nxmaccessmanager.cpp
+++ b/src/nxmaccessmanager.cpp
@@ -224,12 +224,12 @@ void NXMAccessManager::login(const QString &username, const QString &password)
QString NXMAccessManager::userAgent(const QString &subModule) const
{
QStringList comments;
- comments << "compatible to Nexus Client v" + m_NMMVersion;
+ comments << "Nexus Client v" + m_NMMVersion;
if (!subModule.isEmpty()) {
comments << "module: " + subModule;
}
- return QString("Mod Organizer v%1 (%2)").arg(m_MOVersion, comments.join("; "));
+ return QString("Mod Organizer/%1 (%2)").arg(m_MOVersion, comments.join("; "));
}