mirror of
https://github.com/KevinMidboe/zoff.git
synced 2026-02-09 19:13:35 +00:00
Updating channel to fetch prettier
This commit is contained in:
@@ -423,7 +423,7 @@ module.exports = function() {
|
||||
}
|
||||
|
||||
db.collection(coll + "_settings").find(function(err, docs) {
|
||||
if(docs.length > 0 && (docs[0].userpass == undefined || docs[0].userpass == "" || (obj.hasOwnProperty('pass') && docs[0].userpass == Functions.decrypt_string(socketid, obj.pass)))) {
|
||||
if(docs.length > 0 && (docs[0].userpass == undefined || docs[0].userpass == "" || (obj.hasOwnProperty('pass') && docs[0].userpass == crypto.createHash('sha256').update(Functions.decrypt_string(socketid, obj.pass)).digest("base64")))) {
|
||||
Functions.check_inlist(coll, guid, socket, offline);
|
||||
List.send_play(coll, socket);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user