Fix for functions not existing in functions file

This commit is contained in:
Kasper Rynning-Tønnesen
2018-09-23 19:57:14 +02:00
parent 47e40ccb13
commit 5593c5272a

View File

@@ -89,7 +89,7 @@ function getSession(socket) {
return socket.cookie_id;
} catch(e) {
// Returning "sessiong"-based on place of connection
return Functions.hash_pass(socket.handshake.headers["user-agent"] + socket.handshake.address + socket.handshake.headers["accept-language"]);
return hash_pass(socket.handshake.headers["user-agent"] + socket.handshake.address + socket.handshake.headers["accept-language"]);
//return "empty";
}
}