Add a hook to find the best ban mask for a user