Skip to content

Commit

Permalink
Improve client nickname syntax description (#208)
Browse files Browse the repository at this point in the history
List channel membership prefixes in the nickname as prohibited, and advise server implementations to avoid possible detrimental ambiguity.

Should solve #203
  • Loading branch information
tommyrot authored Nov 25, 2023
1 parent a7add20 commit 00cbf72
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _includes/concepts.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ Nicknames are non-empty strings with the following restrictions:

- They MUST NOT contain any of the following characters: space `(' ', 0x20)`, comma `(',', 0x2C)`, asterisk `('*', 0x2A)`, question mark `('?', 0x3F)`, exclamation mark `('!', 0x21)`, at sign `('@', 0x40)`.
- They MUST NOT start with any of the following characters: dollar `('$', 0x24)`, colon `(':', 0x3A)`.
- They MUST NOT start with a character listed as a [channel type](#channel-types) prefix.
- They MUST NOT start with a character listed as a [channel type](#channel-types), [channel membership prefix](#channel-membership-prefixes), or prefix listed in the IRCv3 [`multi-prefix` Extension](https://ircv3.net/specs/extensions/multi-prefix).
- They SHOULD NOT contain any dot character `('.', 0x2E)`.

Servers MAY have additional implementation-specific nickname restrictions.
Servers MAY have additional implementation-specific nickname restrictions and SHOULD avoid the use of nicknames which are ambiguous with commands or command parameters where this could lead to confusion or error.

### Services

Expand Down

0 comments on commit 00cbf72

Please sign in to comment.