allow underscores in nicks

This commit is contained in:
Edmund Huber 2014-03-02 19:56:21 +01:00
parent 542744d52a
commit 857907320d
1 changed files with 1 additions and 1 deletions

View File

@ -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 (