X-Git-Url: http://git.cyclocoop.org/%22.%24image2.%22?a=blobdiff_plain;f=includes%2FProxyLookup.php;h=7450bb91dc73e53b66b06857ad27e8174662ed0e;hb=55ec3e6ab1b15675a69b93fa6608a24e17d3366d;hp=3a3243a5d61a3da8e0a6f1876e11bcf6f76616c0;hpb=dae4c94d893057345f62a3d498fb85c0a54de5a6;p=lhc%2Fweb%2Fwiklou.git 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; }