mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Skip timeout not on channel but on user
This commit is contained in:
@@ -198,7 +198,8 @@ function skip(list, guid, coll, offline, socket) {
|
|||||||
|
|
||||||
hash = adminpass;
|
hash = adminpass;
|
||||||
var toCompare = list.error
|
var toCompare = list.error
|
||||||
Functions.checkTimeout("skip", 1, coll, coll, error, true, socket, function() {
|
var connection_id = Functions.hash_pass(socket.handshake.headers["user-agent"] + socket.handshake.address + socket.handshake.headers["accept-language"]);
|
||||||
|
Functions.checkTimeout("skip", 1, coll, connection_id, error, true, socket, function() {
|
||||||
//db.collection(coll + "_settings").find(function(err, docs){
|
//db.collection(coll + "_settings").find(function(err, docs){
|
||||||
|
|
||||||
if(docs !== null && docs.length !== 0)
|
if(docs !== null && docs.length !== 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user