Matrix-appservice-irc: Why do nicks require beginning with a letter?

Created on 2 Jul 2017  路  5Comments  路  Source: matrix-org/matrix-appservice-irc

BridgedClient.js dictates that nicks must start with a letter. Is there a technical reason for this? It doesn't appear so, since commenting it out seems to work fine. This block means we cannot have nicks beginning with any of the special characters.

Any of the characters in the block above (dictated in RFC 2812 搂2.3.1) can be used to begin a nick, except - and 0-9.

bug quick-win

Most helpful comment

We already handle that numeric when people issue !nick.

All 5 comments

Ah, the earlier RFC 1459 didn't include special characters, but I see that RFC 2812 does include special characters, so that can be changed. Can't start with - or numbers though as you state.

There is no technical reason for it.

I wouldn't say that this is a quick win per se. It requires handling of the 432 numeric, if the network does not support it.

NICK 4foo
:guybrush.hackint.org 432 somenick 4foo :Erroneous Nickname

We already handle that numeric when people issue !nick.

One of my grouped Freenode nicks starts with a {

"must start with a letter"

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Nick-Hall picture Nick-Hall  路  3Comments

ChristianTacke picture ChristianTacke  路  6Comments

vivia picture vivia  路  3Comments

Platypuschan picture Platypuschan  路  4Comments

christianlupus picture christianlupus  路  5Comments