wfGetIp-> in checking autoblock whitelist in doAutoblock. Kudos to Simetrical for...
authorAndrew Garrett <werdna@users.mediawiki.org>
Thu, 23 Nov 2006 05:10:29 +0000 (05:10 +0000)
committerAndrew Garrett <werdna@users.mediawiki.org>
Thu, 23 Nov 2006 05:10:29 +0000 (05:10 +0000)
includes/Block.php

index b6e36d8..14c87a8 100644 (file)
@@ -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");