git-svn-id: file:///home/shish/svn/shimmie2/trunk@1086 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
shish 2008-10-18 06:05:26 +00:00
parent a124addf96
commit 58b80f5a72

View file

@ -69,6 +69,10 @@ class IPBan implements Extension {
$this->theme->display_bans($event->page, $this->get_bans());
}
}
else {
header("HTTP/1.0 403 Access Denied");
$this->theme->display_error($event->page, "Permission Denied", "This page is for admins only");
}
}
if($event instanceof UserBlockBuildingEvent) {