From 9d3939b87f22214768b461b8c4945d9347b7c63e Mon Sep 17 00:00:00 2001 From: Shish Date: Sun, 22 Mar 2020 14:01:27 +0000 Subject: [PATCH] derp --- ext/ipban/main.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/ipban/main.php b/ext/ipban/main.php index 69de8ebe..c1f35060 100644 --- a/ext/ipban/main.php +++ b/ext/ipban/main.php @@ -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) );