Updated IRC.py to include new refactoring done by dani in IRC.R.