From 146d1413c32df42566d8e3b2339595b6db5175c3 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 16 Dec 2020 16:51:57 +0000 Subject: [PATCH] Don't show block button for this domain Moderators blocking their own domain would be silly --- webapp_moderation.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/webapp_moderation.py b/webapp_moderation.py index cb5f91c6e..07019aa99 100644 --- a/webapp_moderation.py +++ b/webapp_moderation.py @@ -115,8 +115,10 @@ def htmlAccountInfo(cssCache: {}, translate: {}, infoForm += \ '' - infoForm += '' + if postDomain != domain: + infoForm += '' + infoForm += '' infoForm += '
' infoForm += ''