Merge pull request #1399 from thelounge/xpaw/correct-browser-name
Correctly append OS name
This commit is contained in:
commit
053a0d0723
@ -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] = {
|
||||
|
Loading…
Reference in New Issue
Block a user