]> Cypherpunks.ru repositories - goircd.git/commitdiff
Increase maximum nickname length for convenience
authorSergey Matveev <stargrave@stargrave.org>
Wed, 7 Oct 2015 15:33:53 +0000 (18:33 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Wed, 7 Oct 2015 15:33:53 +0000 (18:33 +0300)
daemon.go

index 500e80b61584ca0cb7054275851f63c4dd6936b4..9145ba08dd950e345b2df1c7843b93817de17d24 100644 (file)
--- a/daemon.go
+++ b/daemon.go
@@ -39,7 +39,7 @@ const (
 )
 
 var (
-       RENickname = regexp.MustCompile("^[a-zA-Z0-9-]{1,9}$")
+       RENickname = regexp.MustCompile("^[a-zA-Z0-9-]{1,24}$")
 )
 
 type Daemon struct {