Manual:Hooks/BlockIp

Details

 * $block: the Block object about to be saved
 * $user: the user _doing_ the block (not the one being blocked)
 * &$reason: if the hook is aborted, the error message in an array, by default:  (since 1.23, 108285)