no need for return

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

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

Loading…
Cancel
Save