mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-26 05:49:25 +01:00
allow | in nicks
This commit is contained in:
parent
92e7a7961f
commit
d6688a3047
@ -19,7 +19,7 @@ var (
|
||||
// regexps
|
||||
ChannelNameExpr = regexp.MustCompile(`^[&!#+][\pL\pN]{1,63}$`)
|
||||
NicknameExpr = regexp.MustCompile(
|
||||
"^[\\pL\\[\\]{}^`_][\\pL\\pN\\[\\]{}^`_]{1,31}$")
|
||||
"^[\\pL\\[\\]{}^`_][\\pL\\pN\\[\\]{}^`_|]{1,31}$")
|
||||
)
|
||||
|
||||
const (
|
||||
|
Loading…
Reference in New Issue
Block a user