fixes bug introduced in c0721e105f

This commit is contained in:
psychobunny
2013-12-08 10:55:34 -05:00
parent d5e8044575
commit 7fa2f474fe
2 changed files with 2 additions and 2 deletions

View File

@@ -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) {