mirror of
https://github.com/wassname/talk.git
synced 2026-06-29 10:28:57 +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;
|
|
}
|
|
}
|
|
};
|