Moderator system

Closes #2357
This commit is contained in:
syuilo
2018-11-15 04:15:42 +09:00
parent dc9a19b9c7
commit 56d571c0f0
23 changed files with 191 additions and 17 deletions

View File

@@ -84,7 +84,7 @@ export default define(meta, (ps, me) => new Promise(async (res, rej) => {
};
}
if (me && me.isAdmin) {
if (me && (me.isAdmin || me.isModerator)) {
response.hidedTags = instance.hidedTags;
response.recaptchaSecretKey = instance.recaptchaSecretKey;
response.proxyAccount = instance.proxyAccount;