From 857907320dcab2a14cc21f492b7e684ac208f391 Mon Sep 17 00:00:00 2001 From: Edmund Huber Date: Sun, 2 Mar 2014 19:56:21 +0100 Subject: [PATCH] allow underscores in nicks --- irc/constants.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 (