sstephenson / hector

A private group chat server for people you trust
MIT License
131 stars 15 forks source link

Pipes not accepted as valid nickname character #22

Closed raws closed 13 years ago

raws commented 13 years ago

Pipes ("|") are no longer accepted as a valid character in nicknames, as of commit a8df5d9390bc3ced1cfda6f2145efb7f6d24c251 (e.g. NICK raws|swar results in a 432 erroneous nickname error).

I think Session.normalize(nickname) just needs the right Unicode regex character class stuck in there.