only check ban on initextevent, not on every event...
git-svn-id: file:///home/shish/svn/shimmie2/branches/branch_2.1@832 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
parent
e1d4a8e09d
commit
c50aa70f57
@ -34,9 +34,8 @@ class IPBan extends Extension {
|
||||
if($config->get_int("ext_ipban_version") < 1) {
|
||||
$this->install();
|
||||
}
|
||||
}
|
||||
|
||||
$this->check_ip_ban();
|
||||
}
|
||||
|
||||
if(is_a($event, 'PageRequestEvent') && ($event->page_name == "ip_ban")) {
|
||||
global $user;
|
||||
|
Loading…
x
Reference in New Issue
Block a user