Skip to content

Conversation

@1F916
Copy link
Contributor

@1F916 1F916 commented Mar 6, 2021

Fixes #443

This ensures that the type of msg is string before attempting to parse it in unescapeIRC.
Otherwise it leads to an error like "TypeError: msg.includes is not a function at Object.unescapeIRC " when msg-param-sub-plan is coerced to a type other than string by a call to _.get further up the stack, thus crashing the client.

@AlcaDesign AlcaDesign merged commit 9e10db0 into tmijs:master Mar 6, 2021
@AlcaDesign
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants