From 75fce3df4885c99492d6b37454da3fbdcf3e31d7 Mon Sep 17 00:00:00 2001 From: Dmitri Shuralyov Date: Mon, 17 Jul 2017 13:54:36 -0400 Subject: [PATCH] chat: Fix gofmt issue. --- chat/sanitize.go | 1 + 1 file changed, 1 insertion(+) diff --git a/chat/sanitize.go b/chat/sanitize.go index b567825..cb19bb0 100644 --- a/chat/sanitize.go +++ b/chat/sanitize.go @@ -3,6 +3,7 @@ package chat import "regexp" var reStripName = regexp.MustCompile("[^\\w.-]") + const maxLength = 16 // SanitizeName returns a name with only allowed characters and a reasonable length