Skip to content
This repository has been archived by the owner on Mar 12, 2020. It is now read-only.

RFC2812 USER command specification #30

Open
Renegade334 opened this issue May 26, 2015 · 2 comments
Open

RFC2812 USER command specification #30

Renegade334 opened this issue May 26, 2015 · 2 comments

Comments

@Renegade334
Copy link
Contributor

The specification of the USER command was modified in RFC2812.

RFC1459: USER <username> <hostname> <servername> <realname>
RFC2812: USER <username> <mode> <unused> <realname>
where <mode> is an integer bitmask that can be comprised of the following bit fields:

  • USER_MODE_WALLOPS = 4
  • USER_MODE_INVISIBLE = 8

(NB. most major ircds will just ignore the mode field and set their own default usermodes on connect anyway - most clients just send 8 or 12 as an unconfigurable default value)

ref: https://tools.ietf.org/html/rfc2812#section-3.1.3

@elazar
Copy link
Member

elazar commented May 26, 2015

What impact does / should this have on the parser, since the number of parameters has remained unchanged?

@Renegade334
Copy link
Contributor Author

Only the names of the parameters, really. Since RFC2812 supersedes RFC1459, we should at least add the new parameter names, even if the old ones are kept alongside for backwards compatibility.

The USER test case strings currently use the old syntax as well - these should be changed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants