alphanumeric usernames

This commit is contained in:
Andrey Petrov committed 2014-12-12 18:10:14 -08:00
1 parent 0ab7a5d3c5
commit da10a5d2b8
1 file changed
+1 -1
+1 -1
View File
@@ -15,7 +15,7 @@ import (
const MAX_NAME_LENGTH = 32
const HISTORY_LEN = 20
var RE_STRIP_NAME = regexp.MustCompile("[[:^alpha:]]")
var RE_STRIP_NAME = regexp.MustCompile("[^0-9A-Za-z_]")
type Clients map[string]*Client