Skip to content

Node.js based forum software built for the modern web

no need for return

barisusakli70657251b9d7
diff --git a/src/privileges/helpers.js b/src/privileges/helpers.js
index e4f765057f..af9e47866f 100644
--- a/src/privileges/helpers.js
+++ b/src/privileges/helpers.js
@@ -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));
}