|
@@ -96,7 +96,7 @@ func NewServer(config *Config) *Server {
|
96
|
96
|
}
|
97
|
97
|
|
98
|
98
|
//TODO(dan): Hot damn this is an ugly hack. Fix it properly at some point.
|
99
|
|
- ChannelNameExpr = regexp.MustCompile(fmt.Sprintf(`^[&!#+][\pL\pN]{1,%d}$`, config.Limits.ChannelLen))
|
|
99
|
+ ChannelNameExpr = regexp.MustCompile(fmt.Sprintf(`^[#][\pL\pN]{1,%d}$`, config.Limits.ChannelLen))
|
100
|
100
|
NicknameExpr = regexp.MustCompile(fmt.Sprintf("^[\\pL\\pN\\pP\\pS]{1,%d}$", config.Limits.NickLen))
|
101
|
101
|
|
102
|
102
|
if config.Server.Password != "" {
|