Updated for the new exception interface of the IRC library