diff options
Diffstat (limited to 'src/SocketIO')
-rw-r--r-- | src/SocketIO/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SocketIO/index.js b/src/SocketIO/index.js index fdaad56..8d06947 100644 --- a/src/SocketIO/index.js +++ b/src/SocketIO/index.js @@ -82,7 +82,7 @@ function createOpenSocketNamespace(io) { } session_tokens[token] = { - expire: (~~(Date.now()) / 1000)+(86400), + expire: (~~Date.now())+(86400), host: socket.handshake.headers.host, user: {username: user.username} }; |