3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-11-29 15:40:02 +01:00

isupport: STATUSMSG isn't supported, don't advertise it

This commit is contained in:
Daniel Oaks 2016-04-12 15:51:51 +10:00
parent a013205fd1
commit 78928c0322

View File

@ -94,7 +94,7 @@ func NewServer(config *Config) *Server {
server.isupport.Add("NETWORK", config.Network.Name) server.isupport.Add("NETWORK", config.Network.Name)
server.isupport.Add("NICKLEN", "") //TODO(dan): Support nick length server.isupport.Add("NICKLEN", "") //TODO(dan): Support nick length
server.isupport.Add("PREFIX", "(ov)@+") server.isupport.Add("PREFIX", "(ov)@+")
server.isupport.Add("STATUSMSG", "@+") //TODO(dan): Autogenerate based on PREFIXes, make sure it's actually supported // server.isupport.Add("STATUSMSG", "@+") //TODO(dan): Autogenerate based on PREFIXes, support STATUSMSG
server.isupport.Add("TARGMAX", "") //TODO(dan): Support this server.isupport.Add("TARGMAX", "") //TODO(dan): Support this
server.isupport.Add("TOPICLEN", "") //TODO(dan): Support topic length server.isupport.Add("TOPICLEN", "") //TODO(dan): Support topic length
server.isupport.RegenerateCachedReply() server.isupport.RegenerateCachedReply()