derp
This commit is contained in:
		
							parent
							
								
									bbb8d8be4f
								
							
						
					
					
						commit
						9d3939b87f
					
				| @ -126,7 +126,7 @@ class IPBan extends Extension | |||||||
| 
 | 
 | ||||||
|         // Check if our current IP is in either of the ban lists
 |         // Check if our current IP is in either of the ban lists
 | ||||||
|         $active_ban_id = ( |         $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) |             $this->find_active_ban($ips, @$_SERVER['HTTP_X_FORWARDED_FOR'], $networks) | ||||||
|         ); |         ); | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user