From 204e610f28b730639c1759101c4c096e97b3a0d1 Mon Sep 17 00:00:00 2001 From: Andrew Garrett Date: Thu, 23 Nov 2006 05:10:29 +0000 Subject: [PATCH] wfGetIp-> in checking autoblock whitelist in doAutoblock. Kudos to Simetrical for spotting the issue. --- includes/Block.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); -- 2.20.1