mirror of
https://github.com/ergochat/ergo.git
synced 2024-12-22 18:52:41 +01:00
isupport: Don't advertise stuff that's still TODO
This commit is contained in:
parent
78928c0322
commit
56641ff650
@ -83,20 +83,20 @@ func NewServer(config *Config) *Server {
|
|||||||
// add RPL_ISUPPORT tokens
|
// add RPL_ISUPPORT tokens
|
||||||
server.isupport = NewISupportList()
|
server.isupport = NewISupportList()
|
||||||
server.isupport.Add("CASEMAPPING", "ascii")
|
server.isupport.Add("CASEMAPPING", "ascii")
|
||||||
server.isupport.Add("CHANMODES", "") //TODO(dan): Channel mode list here
|
// server.isupport.Add("CHANMODES", "") //TODO(dan): Channel mode list here
|
||||||
server.isupport.Add("CHANNELLEN", "") //TODO(dan): Support channel length
|
// server.isupport.Add("CHANNELLEN", "") //TODO(dan): Support channel length
|
||||||
server.isupport.Add("CHANTYPES", "#")
|
server.isupport.Add("CHANTYPES", "#")
|
||||||
server.isupport.Add("EXCEPTS", "")
|
server.isupport.Add("EXCEPTS", "")
|
||||||
server.isupport.Add("INVEX", "")
|
server.isupport.Add("INVEX", "")
|
||||||
server.isupport.Add("KICKLEN", "") //TODO(dan): Support kick length?
|
// server.isupport.Add("KICKLEN", "") //TODO(dan): Support kick length?
|
||||||
server.isupport.Add("MAXLIST", "") //TODO(dan): Support max list length?
|
// server.isupport.Add("MAXLIST", "") //TODO(dan): Support max list length?
|
||||||
server.isupport.Add("MODES", "") //TODO(dan): Support max modes?
|
// server.isupport.Add("MODES", "") //TODO(dan): Support max modes?
|
||||||
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, support STATUSMSG
|
// 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()
|
||||||
|
|
||||||
return server
|
return server
|
||||||
|
Loading…
Reference in New Issue
Block a user