Closed rickihastings closed 10 years ago
> new IrcMessage('nick!user@host AWAY'); { tags: {}, prefix: 'nick!user@host', command: 'AWA', params: [ 'nick!user@host AWAY' ] }
Is returned when params should be equal to '', like so;
> new IrcMessage('nick!user@host AWAY :'); { tags: {}, prefix: 'nick!user@host', command: 'AWAY', params: [ '' ] }
Params should be an empty array when this is the case. Will look into this now and refactor the parser.
Is returned when params should be equal to '', like so;