mirror of
https://github.com/wassname/talk.git
synced 2026-06-30 03:31:01 +08:00
10 lines
171 B
JavaScript
10 lines
171 B
JavaScript
module.exports = {
|
|
checkRoles: function (user, perm, context) {
|
|
|
|
// this runs before everything
|
|
if (user.status === 'BANNED') {
|
|
return false;
|
|
}
|
|
}
|
|
};
|