From: Andrew Garrett Date: Thu, 23 Nov 2006 05:10:29 +0000 (+0000) Subject: wfGetIp-> in checking autoblock whitelist in doAutoblock. Kudos to Simetrical for... X-Git-Tag: 1.31.0-rc.0~55110 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/modifier.php?a=commitdiff_plain;h=204e610f28b730639c1759101c4c096e97b3a0d1;p=lhc%2Fweb%2Fwiklou.git wfGetIp-> in checking autoblock whitelist in doAutoblock. Kudos to Simetrical for spotting the issue. --- diff --git a/includes/Block.php b/includes/Block.php index b6e36d85aa..14c87a8362 100644 --- a/includes/Block.php +++ b/includes/Block.php @@ -447,7 +447,7 @@ class Block # TODO cache this? $lines = explode( "\n", wfMsgForContentNoTrans( 'autoblock_whitelist' ) ); - $ip = wfGetIp(); + $ip = $autoblockip; wfDebug("Checking the autoblock whitelist..\n");