From fd00dddd6254ef2ff0aa56cbc06a1f5b56b87253 Mon Sep 17 00:00:00 2001 From: barisusakli Date: Wed, 22 Oct 2014 16:12:24 -0400 Subject: [PATCH] admin/mods always gets the reply privs --- src/privileges/topics.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/privileges/topics.js b/src/privileges/topics.js index 57447b196d..3a32bcfa5a 100644 --- a/src/privileges/topics.js +++ b/src/privileges/topics.js @@ -53,7 +53,7 @@ module.exports = function(privileges) { var deletable = isAdminOrMod || results.isOwner; callback(null, { - 'topics:reply': results['topics:reply'][0], + 'topics:reply': results['topics:reply'][0] || isAdminOrMod, read: results.read[0] || isAdminOrMod, view_thread_tools: editable || deletable, editable: editable,