Index: trunk/extensions/TorBlock/TorBlock.php |
— | — | @@ -31,6 +31,7 @@ |
32 | 32 | $wgHooks['getUserPermissionsErrorsExpensive'][] = 'TorBlock::onGetUserPermissionsErrorsExpensive'; |
33 | 33 | $wgHooks['AbortAutoblock'][] = 'TorBlock::onAbortAutoblock'; |
34 | 34 | $wgHooks['GetAutoPromoteGroups'][] = 'TorBlock::onGetAutoPromoteGroups'; |
| 35 | +$wgHooks['GetBlockedStatus'][] = 'TorBlock::onGetBlockedStatus'; |
35 | 36 | |
36 | 37 | /** |
37 | 38 | * Permission keys that bypass Tor blocks. |
Index: trunk/extensions/TorBlock/TorBlock.class.php |
— | — | @@ -120,7 +120,7 @@ |
121 | 121 | if (self::isExitNode() && $user->mBlock && !$user->mBlock->mUser) { |
122 | 122 | wfDebug( "User using Tor node. Disabling IP block as it was probably targetted at the tor node." ); |
123 | 123 | // Node is probably blocked for being a Tor node. Remove block. |
124 | | - $user->mBlockedBy = 0; |
| 124 | + $user->mBlockedby = 0; |
125 | 125 | } |
126 | 126 | |
127 | 127 | return true; |