X-Git-Url: http://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2FProxyLookup.php;h=7450bb91dc73e53b66b06857ad27e8174662ed0e;hp=3a3243a5d61a3da8e0a6f1876e11bcf6f76616c0;hb=326d52f9613c5227d75f97361be6ec6ef78b214e;hpb=a5be382adfdad4678eec18413c6a118cb3284daf diff --git a/includes/ProxyLookup.php b/includes/ProxyLookup.php index 3a3243a5d6..7450bb91dc 100644 --- a/includes/ProxyLookup.php +++ b/includes/ProxyLookup.php @@ -19,7 +19,7 @@ * @file */ -use IPSet\IPSet; +use Wikimedia\IPSet; /** * @since 1.28 @@ -58,7 +58,7 @@ class ProxyLookup { */ public function isConfiguredProxy( $ip ) { // Quick check of known singular proxy servers - if ( in_array( $ip, $this->proxyServers ) ) { + if ( in_array( $ip, $this->proxyServers, true ) ) { return true; }