Skip to content

Warn if a part/quit is received and no channelUsers is set #218

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 30, 2017

Conversation

Throne3d
Copy link
Collaborator

Attempts to fix #216's crash but is unlikely to fix the underlying issue (that somehow the client isn't saving
a list of nicks in a channel, either because the server isn't sending a names event, or the node-irc library is processing it poorly, or otherwise).

I'm not sure this should be merged until a proper fix is found, but this shouldn't damage anything anyway.

I couldn't produce the actual crash on the particular server so it might be related to the particular channel in use, but this should hopefully work as a stopgap measure so the bot can be used with status messages (well, joins and probably parts) on such channels, while still alerting when weird behavior is going on.

@Throne3d Throne3d added the bug label Apr 10, 2017
@Throne3d Throne3d self-assigned this Apr 10, 2017
@coveralls
Copy link

coveralls commented Apr 10, 2017

Coverage Status

Coverage increased (+0.04%) to 98.261% when pulling 0307753 on Throne3d:fix/warn-on-no-names into 884f0ca on reactiflux:master.

Attempts to fix reactiflux#216's crash but is unlikely to fix the
underlying issue (that somehow the client isn't saving
a list of nicks in a channel, either because the server
isn't sending a names event, or the node-irc library is
processing it poorly, or otherwise).
@Throne3d Throne3d force-pushed the fix/warn-on-no-names branch from 0307753 to 0359657 Compare April 29, 2017 22:50
@coveralls
Copy link

Coverage Status

Coverage increased (+0.04%) to 98.326% when pulling 0359657 on Throne3d:fix/warn-on-no-names into aefd88c on reactiflux:master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage increased (+0.04%) to 98.326% when pulling 0359657 on Throne3d:fix/warn-on-no-names into aefd88c on reactiflux:master.

@Throne3d
Copy link
Collaborator Author

Rebased onto master, fixed a merge conflict.

@ekmartin ekmartin merged commit ef73243 into reactiflux:master Apr 30, 2017
@Throne3d Throne3d deleted the fix/warn-on-no-names branch July 1, 2017 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bot crashes when user leaves on IRC
3 participants