From 16c613dad07a081a19e8baf1f9968bde48e85c57 Mon Sep 17 00:00:00 2001 From: 8chan Date: Sun, 12 Oct 2014 18:31:00 -0700 Subject: [PATCH] SECURITY: Stop showing all mods poster IDs I'm retarded --- templates/post/poster_id.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/post/poster_id.html b/templates/post/poster_id.html index cc6abb48..f23f8df6 100644 --- a/templates/post/poster_id.html +++ b/templates/post/poster_id.html @@ -1,4 +1,4 @@ -{% if config.poster_ids or mod %} +{% if config.poster_ids or (mod|hasPermission(config.mod.show_ip_less, board.uri)) %} {% if post.thread %} ID: {{ poster_id(post.ip, post.thread, board.uri) }} {% else %}