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 @@
448
448
# TODO cache this?
449
449
$lines = explode( "\n", wfMsgForContentNoTrans( 'autoblock_whitelist' ) );
450
450
451
- $ip = wfGetIp();
451
+ $ip = $autoblockip;
452
452
453
453
wfDebug("Checking the autoblock whitelist..\n");
454
454