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

irc-proto: allow modes with no prefix #252

Merged
merged 1 commit into from
Jun 24, 2023
Merged

Conversation

martinetd
Copy link
Contributor

irc clients can query the details of some modes (e.g. request list of banned users) by sending a message with no plus or minus prefix, e.g. "MODE #chan b"

Not sure why this hadn't bitten me earlier, but now apparently the Framed tokio codec stream I'm reading stops processing data on first error so even if I could just ignore this it effectively disconnects my client, making channels rather painful.

Happy to rename NoPrefix to something else, from what I could see it's a query so Query? But Plus and Minus are rather litteral and not Add / Remove so NoPrefix is probably just as good.

Thanks!

@martinetd martinetd force-pushed the query_mode branch 2 times, most recently from f24d8d9 to ac97586 Compare June 23, 2023 12:42
irc clients can query the details of some modes (e.g. request list of
banned users) by sending a message with no plus or minus prefix,
e.g. "MODE #chan b"
@aatxe aatxe merged commit 26ab942 into aatxe:develop Jun 24, 2023
@martinetd
Copy link
Contributor Author

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