Index: trunk/extensions/ContactPage/SpecialContact.php |
— | — | @@ -53,7 +53,7 @@ |
54 | 54 | } |
55 | 55 | |
56 | 56 | // Blocked users cannot use the contact form. |
57 | | - if ( $wgUser->isBlocked() ) { |
| 57 | + if ( $wgUser->isAllowed( 'sendemail' ) ) { |
58 | 58 | $wgOut->setPageTitle( wfMsg( 'blockedtitle' ) ); |
59 | 59 | $wgOut->setRobotPolicy( 'noindex,nofollow' ); |
60 | 60 | $wgOut->setArticleRelated( false ); |