derp
This commit is contained in:
parent
bbb8d8be4f
commit
9d3939b87f
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ class IPBan extends Extension
|
|||
|
||||
// Check if our current IP is in either of the ban lists
|
||||
$active_ban_id = (
|
||||
$this->find_active_ban($ips, $_SERVER['REMOTE_ADDR'], $networks) ||
|
||||
$this->find_active_ban($ips, $_SERVER['REMOTE_ADDR'], $networks) ??
|
||||
$this->find_active_ban($ips, @$_SERVER['HTTP_X_FORWARDED_FOR'], $networks)
|
||||
);
|
||||
|
||||
|
|
Reference in a new issue