Merge pull request #1399 from thelounge/xpaw/correct-browser-name

Correctly append OS name
This commit is contained in:
Jérémie Astori 2017-08-08 21:49:19 -04:00 committed by GitHub
commit 053a0d0723
1 changed files with 1 additions and 1 deletions

View File

@ -307,7 +307,7 @@ Client.prototype.updateSession = function(token, ip, request) {
}
if (agent.os.name.length) {
friendlyAgent = ` on ${agent.os.name} ${agent.os.version}`;
friendlyAgent += ` on ${agent.os.name} ${agent.os.version}`;
}
client.config.sessions[token] = {