X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FProxyLookup.php;h=7450bb91dc73e53b66b06857ad27e8174662ed0e;hb=19515fae659ab3a63a677152419afce6bf0ccbcc;hp=3a3243a5d61a3da8e0a6f1876e11bcf6f76616c0;hpb=bdfe02223205923d923923dd420ba0dd863cd0fe;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; }