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

Send a single error when opping a non-existing nick #241

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

progval
Copy link

@progval progval commented Jun 15, 2024

This used to return both ERR_NOSUCHNICK and ERR_USERNOTINCHANNEL:

C: MODE #chan +o nobody
S: :My.Little.Server 401 chanop nobody :No such nick/channel
S: :My.Little.Server 441 chanop nobody #chan :They aren't on that channel

I changed it to return only ERR_NOSUCHNICK, like other IRCds do.

This used to return both ERR_NOSUCHNICK and ERR_USERNOTINCHANNEL:

C: MODE #chan +o nobody
S: :My.Little.Server 401 chanop nobody :No such nick/channel
S: :My.Little.Server 441 chanop nobody #chan :They aren't on that channel

I changed it to return only ERR_NOSUCHNICK, like other IRCds do.
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.

None yet

1 participant