mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
more test
This commit is contained in:
@@ -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)
|
if(lists[coll] == undefined)
|
||||||
{
|
{
|
||||||
lists[coll] = [];
|
lists[coll] = [];
|
||||||
|
|||||||
@@ -116,7 +116,7 @@ $(document).ready(function()
|
|||||||
|
|
||||||
if(localStorage[chan.toLowerCase()])
|
if(localStorage[chan.toLowerCase()])
|
||||||
{
|
{
|
||||||
socket.emit("password", localStorage[chan.toLowerCase()]);
|
socket.emit("password", [localStorage[chan.toLowerCase()], chan.toLowerCase()]);
|
||||||
}
|
}
|
||||||
|
|
||||||
if($("#chan").html().toLowerCase() == "jazz")
|
if($("#chan").html().toLowerCase() == "jazz")
|
||||||
|
|||||||
Reference in New Issue
Block a user