v1.18.x
Julian Lam 11 years ago
parent b259c3d422
commit 4bb6d89e83

@ -829,7 +829,7 @@ var bcrypt = require('bcryptjs'),
};
User.isModerator = function(uid, cid, callback) {
groups.isMemberByGroupName(uid, 'cid:' + cid + ':privileges:mod', callback);
groups.isMemberByGroupName(uid, 'cid:' + cid + ':privileges:mods', callback);
};
User.isAdministrator = function(uid, callback) {

Loading…
Cancel
Save