r17879 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r17878‎ | r17879 | r17880 >
Date:05:10, 23 November 2006
Author:werdna
Status:old
Tags:
Comment:
wfGetIp-> in checking autoblock whitelist in doAutoblock. Kudos to Simetrical for spotting the issue.
Modified paths:
  • /trunk/phase3/includes/Block.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Block.php
@@ -447,7 +447,7 @@
448448 # TODO cache this?
449449 $lines = explode( "\n", wfMsgForContentNoTrans( 'autoblock_whitelist' ) );
450450
451 - $ip = wfGetIp();
 451+ $ip = $autoblockip;
452452
453453 wfDebug("Checking the autoblock whitelist..\n");
454454