Fix multi channel issue

Fix issue with multi channels with the IRC library.