mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Typo..
This commit is contained in:
@@ -62,7 +62,7 @@ function getSession(socket) {
|
||||
var cookie = require("cookie");
|
||||
var parsedCookies = cookie.parse(socket.handshake.headers.cookie);
|
||||
return parsedCookies["_uI"];*/
|
||||
if(socket.cookie_id == undefined) throw "Undefined error");
|
||||
if(socket.cookie_id == undefined) throw "Undefined error";
|
||||
return socket.cookie_id;
|
||||
} catch(e) {
|
||||
return "empty";
|
||||
|
||||
Reference in New Issue
Block a user