From d6688a3047e36617c6c2e5c2e66f58effc1cf9b5 Mon Sep 17 00:00:00 2001 From: Jeremy Latt Date: Sun, 2 Mar 2014 13:10:47 -0800 Subject: [PATCH] allow | in nicks --- irc/constants.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/irc/constants.go b/irc/constants.go index f68c0c9e..02a78ab2 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 (