|
@@ -183,7 +183,7 @@ func (server *Server) setISupport() {
|
183
|
183
|
// add RPL_ISUPPORT tokens
|
184
|
184
|
isupport := isupport.NewList()
|
185
|
185
|
isupport.Add("AWAYLEN", strconv.Itoa(server.limits.AwayLen))
|
186
|
|
- isupport.Add("CASEMAPPING", casemappingName)
|
|
186
|
+ isupport.Add("CASEMAPPING", "ascii")
|
187
|
187
|
isupport.Add("CHANMODES", strings.Join([]string{Modes{BanMask, ExceptMask, InviteMask}.String(), "", Modes{UserLimit, Key}.String(), Modes{InviteOnly, Moderated, NoOutside, OpOnlyTopic, ChanRoleplaying, Secret}.String()}, ","))
|
188
|
188
|
isupport.Add("CHANNELLEN", strconv.Itoa(server.limits.ChannelLen))
|
189
|
189
|
isupport.Add("CHANTYPES", "#")
|
|
@@ -203,6 +203,7 @@ func (server *Server) setISupport() {
|
203
|
203
|
isupport.Add("STATUSMSG", "~&@%+")
|
204
|
204
|
isupport.Add("TARGMAX", fmt.Sprintf("NAMES:1,LIST:1,KICK:1,WHOIS:1,USERHOST:10,PRIVMSG:%s,TAGMSG:%s,NOTICE:%s,MONITOR:", maxTargetsString, maxTargetsString, maxTargetsString))
|
205
|
205
|
isupport.Add("TOPICLEN", strconv.Itoa(server.limits.TopicLen))
|
|
206
|
+ isupport.Add("UTF8MAPPING", casemappingName)
|
206
|
207
|
|
207
|
208
|
// account registration
|
208
|
209
|
if server.accountRegistration.Enabled {
|