From 26e24c8988665174f2824c35d3ba691cc9ee58db Mon Sep 17 00:00:00 2001 From: Shish Date: Thu, 28 Nov 2019 18:10:58 +0000 Subject: [PATCH] ban message is not content --- ext/ipban/main.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ext/ipban/main.php b/ext/ipban/main.php index 7ea7473c..3f995e41 100644 --- a/ext/ipban/main.php +++ b/ext/ipban/main.php @@ -145,7 +145,9 @@ class IPBan extends Extension } if($row["mode"] == "ghost") { - $page->add_block(new Block(null, $msg, "main", 0)); + $b = new Block(null, $msg, "main", 0); + $b->is_content = false; + $page->add_block($b); $event->user->class = $_shm_user_classes["ghost"]; } else { header("HTTP/1.0 403 Forbidden");