Changeset 751 in code for trunk/downstream.go


Ignore:
Timestamp:
Dec 6, 2021, 6:23:28 PM (4 years ago)
Author:
contact
Message:

Disallow ',' in nicknames

It breaks lists as in PRIVMSG a,b,c :foo.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/downstream.go

    r750 r751  
    209209// ' ' and ':' break the IRC message wire format, '@' and '!' break prefixes,
    210210// '*' and '?' break masks, '$' breaks server masks in PRIVMSG/NOTICE,
    211 // "*" is the reserved nickname for registration
    212 const illegalNickChars = " :@!*?$"
     211// "*" is the reserved nickname for registration, ',' breaks lists
     212const illegalNickChars = " :@!*?$,"
    213213
    214214// permanentDownstreamCaps is the list of always-supported downstream
Note: See TracChangeset for help on using the changeset viewer.