Move IRC stuff into its own logic file