Skip to content

Commit c8a4dfb

Browse files
committed
Previous proposal overshot its goal. In this commit: list channel membership prefixes in the nickname as prohibited, and advise server implementations to avoid possible detrimental ambiguity.
1 parent d4ee752 commit c8a4dfb

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

_includes/concepts.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,13 @@ A client is anything connecting to a server that is not another server. Each cli
5252

5353
Nicknames are non-empty strings with the following restrictions:
5454

55-
- They MUST NOT contain any of the following characters: space `(' ', 0x20)`, exclamation mark `('!', 0x21)`, quotation mark `('"', 0x22)`, hash `('#', 0x23)`, dollar sign `('$', 0x24)`, percent sign `('%', 0x25)`, ampersand `('&', 0x26)`, apostrophe `(''', 0x27)`, opening bracket `('(', 0x28)`, closing bracket `(')', 0x29)`, asterisk `('*', 0x2A)`, plus sign `('+', 0x2B)`, comma `(',', 0x2C)`, dot `('.', 0x2E)`, forward slash `('/', 0x2F)`, colon `(':', 0x3A)`, semicolon `(';', 0x3B)`, less-than sign `('<', 0x3C)`, equals sign `('=', 0x3D)`, greater-than sign `('>', 0x3E)`, question mark `('?', 0x3F)`, at sign `('@', 0x40)`.
56-
- They MUST NOT start with any of the following characters: hyphen-minus `('-', 0x2D)`, a digit `('0' - '9', 0x30 - 0x39)`.
55+
- They MUST NOT contain any of the following characters: space `(' ', 0x20)`, comma `(',', 0x2C)`, asterisk `('*', 0x2A)`, question mark `('?', 0x3F)`, exclamation mark `('!', 0x21)`, at sign `('@', 0x40)`.
56+
- They MUST NOT start with any of the following characters: dollar `('$', 0x24)`, colon `(':', 0x3A)`.
5757
- They MUST NOT start with a character listed as a [channel type](#channel-types) prefix.
5858
- They MUST NOT start with a character listed as a [channel membership prefix](#channel-membership-prefixes), or prefix listed in the IRCv3 [`multi-prefix` Extension](https://ircv3.net/specs/extensions/multi-prefix).
59+
- They SHOULD NOT contain any dot character `('.', 0x2E)`.
5960

60-
Servers MAY have additional implementation-specific nickname restrictions.
61+
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.
6162

6263
### Services
6364

0 commit comments

Comments
 (0)