updated IRC functionality.