Manual:Hooks/BlockIp

Details
This occurs before an IP address or user is blocked, or the block settings are changed.
 * : the  object about to be saved
 * : the user doing the block (not the one being blocked)
 * : if the hook is aborted, the error message in an array, by default:  (since 1.23, 108285)