Skip to content
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

Safeguard channel user MODE changes (fixes #364) #365

Closed
wants to merge 1 commit into from

Conversation

sim642
Copy link
Contributor

@sim642 sim642 commented May 15, 2015

Apparently some IRCd-s like sending channel user mode removals on user PART (notably Twitch). This patch solves the issue by checking for user existence in channel before attempting to manipulate anything. Also no mode events will be emitted for such illegal MODE commands so that event listeners wouldn't need to do the same checks.

The change has been successfully tested in #364.

@sim642
Copy link
Contributor Author

sim642 commented May 15, 2015

Blocking off illegal MODEs breaks auditorium. Doesn't work.

@sim642 sim642 closed this May 15, 2015
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.

1 participant