node-irc icon indicating copy to clipboard operation
node-irc copied to clipboard

Don't crash on empty rpl_whoischannels message

Open panzi opened this issue 8 years ago • 0 comments

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.

panzi avatar Apr 20 '17 20:04 panzi