diff --git a/src/user.js b/src/user.js index 7ae0d17be4..281000ccc0 100644 --- a/src/user.js +++ b/src/user.js @@ -432,7 +432,7 @@ var async = require('async'), } var isMembers = checks.user.map(function(isMember, idx) { - return isMember || checks.group[idx] + return isMember || checks.group[idx]; }), map = {}; @@ -451,7 +451,7 @@ var async = require('async'), async.apply(groups.isMembers, uid, 'cid:' + cid + ':privileges:groups:moderate') ], function(err, checks) { var isModerator = checks[0].map(function(isMember, idx) { - return isMember || checks[1][idx] + return isMember || checks[1][idx]; }); filterIsModerator(null, isModerator); });