more test

This commit is contained in:
Kasper Rynning-Tønnesen
2015-05-04 10:48:42 +02:00
parent 559fcf13a9
commit 4b74f70c0e
2 changed files with 4 additions and 2 deletions

View File

@@ -267,8 +267,10 @@ io.on('connection', function(socket){
}
});
socket.on('password', function(pw)
socket.on('password', function(inp)
{
pw = inp[0];
coll = inp[1];
if(lists[coll] == undefined)
{
lists[coll] = [];