mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-03 04:25:55 +01:00
fixes bug introduced in c0721e105f
This commit is contained in:
@@ -33,7 +33,7 @@ var db = require('./database'),
|
||||
});
|
||||
},
|
||||
hasEnoughRep: function(next) {
|
||||
if (meta.config['privileges:disabled']) {
|
||||
if (parseInt(meta.config['privileges:disabled'], 10)) {
|
||||
return next(null, false);
|
||||
} else {
|
||||
user.getUserField(uid, 'reputation', function(err, reputation) {
|
||||
|
||||
Reference in New Issue
Block a user