mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-31 19:15:58 +01:00
handling case where user does not satisfy any of the privilege thresholds given to the hasEnoughReputationFor method
This commit is contained in:
@@ -40,7 +40,6 @@ topicsController.get = function(req, res, next) {
|
||||
}, next);
|
||||
},
|
||||
function (results, next) {
|
||||
|
||||
userPrivileges = results.privileges;
|
||||
|
||||
if (userPrivileges.disabled) {
|
||||
|
||||
Reference in New Issue
Block a user