Add proper checks for if IRC is enabled