Correctly append OS name
This commit is contained in:
parent
ff85b616f0
commit
25ac4d9e69
@ -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