Changed IRC calls to be ref/constref calls

for some reason a lot of them were unnecessarily by value or by pointer