diff --git a/irc/constants.go b/irc/constants.go index 83e73efb..eed3d388 100644 --- a/irc/constants.go +++ b/irc/constants.go @@ -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 (