Adding IRC functionality back in as removed in error in #9c6cb18b7719f16727c56d92d6d3e01c73b11910