| Index: trunk/extensions/GlobalBlocking/GlobalBlocking.class.php |
| — | — | @@ -44,7 +44,7 @@ |
| 45 | 45 | return $result = array(); |
| 46 | 46 | } |
| 47 | 47 | |
| 48 | | - if ( $user->isAllowed( 'ipblock-exempt', 'globalblock-exempt' ) ) { |
| | 48 | + if ( $user->isAllowed( 'ipblock-exempt' ) || $user->isAllowed( 'globalblock-exempt' ) ) { |
| 49 | 49 | // User is exempt from IP blocks. |
| 50 | 50 | return $result = array(); |
| 51 | 51 | } |