mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-05-06 15:06:38 +02:00
closes #6763
This commit is contained in:
@@ -168,7 +168,7 @@ module.exports = function (User) {
|
||||
|
||||
User.checkMinReputation = function (callerUid, uid, setting, callback) {
|
||||
var isSelf = parseInt(callerUid, 10) === parseInt(uid, 10);
|
||||
if (!isSelf) {
|
||||
if (!isSelf || parseInt(meta.config['reputation:disabled'], 10) === 1) {
|
||||
return setImmediate(callback);
|
||||
}
|
||||
async.waterfall([
|
||||
|
||||
Reference in New Issue
Block a user