Fix irc module handling channels with password in them

The irc module fails with a timeout trying to connect to a channel if it has a password (i.e., `channel=#mychan passwd`).  This pull request fixes that by trying to split the channel.