allow | in nicks

This commit is contained in:
Jeremy Latt 2014-03-02 13:10:47 -08:00
parent 92e7a7961f
commit d6688a3047
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ var (
// regexps // regexps
ChannelNameExpr = regexp.MustCompile(`^[&!#+][\pL\pN]{1,63}$`) ChannelNameExpr = regexp.MustCompile(`^[&!#+][\pL\pN]{1,63}$`)
NicknameExpr = regexp.MustCompile( NicknameExpr = regexp.MustCompile(
"^[\\pL\\[\\]{}^`_][\\pL\\pN\\[\\]{}^`_]{1,31}$") "^[\\pL\\[\\]{}^`_][\\pL\\pN\\[\\]{}^`_|]{1,31}$")
) )
const ( const (