mirror of
				https://github.com/KevinMidboe/zoff.git
				synced 2025-10-29 18:00:23 +00:00 
			
		
		
		
	guid undefined fallback
This commit is contained in:
		| @@ -32,7 +32,7 @@ module.exports = function() { | ||||
|         socket.emit("get_list"); | ||||
|  | ||||
|         var guid = socket.cookie_id; | ||||
|         if(guid == "empty") guid = Functions.hash_pass(socket.handshake.headers["user-agent"] + socket.handshake.address + socket.handshake.headers["accept-language"]); | ||||
|         if(guid == "empty" || guid == null || guid == undefined) guid = Functions.hash_pass(socket.handshake.headers["user-agent"] + socket.handshake.address + socket.handshake.headers["accept-language"]); | ||||
|  | ||||
|         socket.guid = guid; | ||||
|         socket.on('close', function() { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user