node-irc
node-irc copied to clipboard
Don't crash on empty rpl_whoischannels message
On an empty message message.args[2] was undefined and calling .trim() on that crashed. And if message.args[2] would have been '' the result would be [''], which would have been also wrong.