diff --git a/src/socket.io/posts/tools.js b/src/socket.io/posts/tools.js index 4006fafe81..86eb42087e 100644 --- a/src/socket.io/posts/tools.js +++ b/src/socket.io/posts/tools.js @@ -49,7 +49,6 @@ module.exports = function (SocketPosts) { postData.display_change_owner_tools = results.isAdmin || results.isModerator; postData.display_ip_ban = (results.isAdmin || results.isGlobalMod) && !postData.selfPost; postData.display_history = results.history; - postData.toolsVisible = postData.tools.length || postData.display_moderator_tools; postData.flags = { flagId: parseInt(results.posts.flagId, 10) || null, can: results.canFlag.flag,