There are two cases in which chanfix will take action.
The first is whenever a channel with scores in the database becomes opless. chanfix will look at the scores in the database and match those against the clients currently present on the channel, and give ops to the clients with the highest scores.
This is called an automatic fix; whenever a channel becomes opless, chanfix will attempt to fix it automatically.
The second is when a channel has been taken over. An IRC Operator with an account on chanfix with the right flag can issue a manual fix. If this is issued, all clients on the channel are deopped, and chanfix will remove all bans and modes. This allows the channel regulars to rejoin the channel. Then, after a short while, chanfix will reop the channel using the same autofix logic.
For more information about the exact algorithm used, see the opping logic section.