Follow-up r71882 and r71929: Fix bug in r71929. Check should be reversed.

This commit is contained in:
Siebrand Mazeland 2010-10-02 23:13:28 +00:00
parent b21d241936
commit d6d5b26a7b
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ class SpecialContact extends SpecialPage {
}
// Blocked users cannot use the contact form.
if ( $wgUser->isAllowed( 'sendemail' ) ) {
if ( !$wgUser->isAllowed( 'sendemail' ) ) {
$wgOut->setPageTitle( wfMsg( 'blockedtitle' ) );
$wgOut->setRobotPolicy( 'noindex,nofollow' );
$wgOut->setArticleRelated( false );