Index: trunk/extensions/ConfirmAccount/business/AccountRequestSubmission.php |
— | — | @@ -222,6 +222,7 @@ |
223 | 223 | ConfirmAccount::clearAccountRequestCountCache(); |
224 | 224 | # No request spamming... |
225 | 225 | if ( $wgAccountRequestThrottle && $reqUser->isPingLimitable() ) { |
| 226 | + $ip = $context->getRequest()->getIP(); |
226 | 227 | $key = wfMemcKey( 'acctrequest', 'ip', $ip ); |
227 | 228 | $value = $wgMemc->incr( $key ); |
228 | 229 | if ( !$value ) { |