no need for return

v1.18.x
barisusakli 10 years ago
parent 44175188c4
commit 70657251b9

@ -141,8 +141,7 @@ helpers.hasEnoughReputationFor = function(privilege, uid, callback) {
}
}
// Does not satisfy any of those thresholds?
return callback(null, false);
callback(null, false);
} else {
callback(null, reputation >= parseInt(meta.config[privilege], 10));
}

Loading…
Cancel
Save