Fixed issue with trying to access private list

This commit is contained in:
Kasper Rynning-Tønnesen
2017-05-02 18:28:39 +02:00
parent 0a16370ba7
commit 380a6cd60e
3 changed files with 6 additions and 8 deletions

View File

@@ -339,6 +339,7 @@ io.on('connection', function(socket){
socket.on('list', function(list)
{
console.log(list);
if(typeof(list) === 'string' && list !== undefined && list !== null && list !== "")
{
in_list = true;