ircanywhere/irc-factory — pull request #20 by rodms10 (2014-07-07 22:18:53+00:00)
Title: Fix raw array params

When an array was passed to `raw`, it was being converted to parameters, but code expected an array. This change always sends whatever was passed to `raw` as a param.

This was introduced by 937a238f930a93a9fe2bb5130919b9fcf564f52b (my bad!). When `raw` was passed `['WHO', '#channel']` for example, `data` argument would be the string `WHO` and `#channel` would only be accessible through the arguments array. That change checked if `data` was a string, which is true but it would then drop the second argument when sending the message over.

This fixes item 3 of https://github.com/ircanywhere/ircanywhere/issues/90.