mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-10 22:19:31 +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
|
||||
server.isupport = NewISupportList()
|
||||
server.isupport.Add("CASEMAPPING", "ascii")
|
||||
server.isupport.Add("CHANMODES", "") //TODO(dan): Channel mode list here
|
||||
server.isupport.Add("CHANNELLEN", "") //TODO(dan): Support channel length
|
||||
// server.isupport.Add("CHANMODES", "") //TODO(dan): Channel mode list here
|
||||
// server.isupport.Add("CHANNELLEN", "") //TODO(dan): Support channel length
|
||||
server.isupport.Add("CHANTYPES", "#")
|
||||
server.isupport.Add("EXCEPTS", "")
|
||||
server.isupport.Add("INVEX", "")
|
||||
server.isupport.Add("KICKLEN", "") //TODO(dan): Support kick length?
|
||||
server.isupport.Add("MAXLIST", "") //TODO(dan): Support max list length?
|
||||
server.isupport.Add("MODES", "") //TODO(dan): Support max modes?
|
||||
// server.isupport.Add("KICKLEN", "") //TODO(dan): Support kick length?
|
||||
// server.isupport.Add("MAXLIST", "") //TODO(dan): Support max list length?
|
||||
// server.isupport.Add("MODES", "") //TODO(dan): Support max modes?
|
||||
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("STATUSMSG", "@+") //TODO(dan): Autogenerate based on PREFIXes, support STATUSMSG
|
||||
server.isupport.Add("TARGMAX", "") //TODO(dan): Support this
|
||||
server.isupport.Add("TOPICLEN", "") //TODO(dan): Support topic length
|
||||
// server.isupport.Add("TARGMAX", "") //TODO(dan): Support this
|
||||
// server.isupport.Add("TOPICLEN", "") //TODO(dan): Support topic length
|
||||
server.isupport.RegenerateCachedReply()
|
||||
|
||||
return server
|
||||
|
Loading…
Reference in New Issue
Block a user