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.
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 toraw
as a param.This was introduced by 937a238f930a93a9fe2bb5130919b9fcf564f52b (my bad!). When
raw
was passed['WHO', '#channel']
for example,data
argument would be the stringWHO
and#channel
would only be accessible through the arguments array. That change checked ifdata
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.