Fixes a bug on lib/irc where it would only emit the first channel in nick changes and quits

I don't know why, but it works this way.
It might be a platform issue since I run on windows.