Cleaned up IRC implementation