Removed debugging guff
This commit is contained in:
parent
6350963e77
commit
0fcd72b063
|
|
@ -94,8 +94,6 @@ permissionSchema.statics.permCheck = async function(user, perm){
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(user.rank);
|
|
||||||
|
|
||||||
//Check if this permission exists
|
//Check if this permission exists
|
||||||
if(perms[perm] != null){
|
if(perms[perm] != null){
|
||||||
//if so get required rank as a number
|
//if so get required rank as a number
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue