Index: trunk/extensions/ConfirmAccount/ConfirmAccount_body.php |
— | — | @@ -16,7 +16,7 @@ |
17 | 17 | function execute( $subpage ) { |
18 | 18 | global $wgUser, $wgOut, $wgRequest, $action, $wgUseRealNamesOnly; |
19 | 19 | |
20 | | - if( $wgUser->isBlocked() ) { |
| 20 | + if( $wgUser->isBlockedFromCreateAccount() ) { |
21 | 21 | $wgOut->blockedPage(); |
22 | 22 | return; |
23 | 23 | } |