ban message is not content
This commit is contained in:
parent
9cab604455
commit
26e24c8988
@ -145,7 +145,9 @@ class IPBan extends Extension
|
|||||||
}
|
}
|
||||||
|
|
||||||
if($row["mode"] == "ghost") {
|
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"];
|
$event->user->class = $_shm_user_classes["ghost"];
|
||||||
} else {
|
} else {
|
||||||
header("HTTP/1.0 403 Forbidden");
|
header("HTTP/1.0 403 Forbidden");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user