mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-07 14:35:47 +01:00
fixes bug introduced in c0721e105f
This commit is contained in:
@@ -48,7 +48,7 @@ var db = require('./database'),
|
||||
}
|
||||
|
||||
function hasEnoughRep(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