Working IRC Version. Fixed bugs from previous commit.