-
Notifications
You must be signed in to change notification settings - Fork 197
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
reevaluate error responses for SANICK #1277
Comments
We use ERR_NICKNAMEINUSE to prompt the client to choose a different nick for themselves, which we then submit as NICK, so yes this is incorrect behaviour. You shouldn't send this to either the target or originating client. |
Any suggestions on what we should send? |
SANICK is non-standard, maybe send a NOTICE if you want to send something. Or a FAIL SANICK... |
As long as you're not too bothered with back-compat. |
Looks like I can't reply to the thread on the inspircd repo, but I don't see a problem with sending the messages as you suggested @slingamn. Most clients throw messages they don't know into the status window and most users know to look at the status window for something they didn't see a response for. However, a NOTICE is probably a better option since most clients will show them either in the channel the user is currently viewing rather than having someone hunt it down and eventually find it in a status window. |
@eskimo reported client issues with SANICK. Part of the problem is that SANICK sends
433 ERR_NICKNAMEINUSE
to the originating client (as opposed to the target) on failures; these were then being misinterpreted by the client, causing the client to change its own nickname.Let's see what other SVSNICK/SANICK implementations are doing here.
The text was updated successfully, but these errors were encountered: