Changeset 794 in code


Ignore:
Timestamp:
Mar 3, 2022, 9:54:21 AM (3 years ago)
Author:
contact
Message:

downstream: disallow '.' in nicknames

See [1] and [2].

[1]: https://github.com/ircdocs/modern-irc/pull/148
[2]: https://github.com/ergochat/ergo/blob/eff6dd242b7dc1382ec555929bfbe536f4fe6b8b/irc/strings.go#L29

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/downstream.go

    r793 r794  
    216216//     '$' breaks server masks in PRIVMSG/NOTICE
    217217//     ',' breaks lists
    218 const illegalNickChars = " :@!*?$,"
     218//     '.' is reserved for server names
     219const illegalNickChars = " :@!*?$,."
    219220
    220221// permanentDownstreamCaps is the list of always-supported downstream
Note: See TracChangeset for help on using the changeset viewer.