|
@@ -83,20 +83,20 @@ func NewServer(config *Config) *Server {
|
83
|
83
|
// add RPL_ISUPPORT tokens
|
84
|
84
|
server.isupport = NewISupportList()
|
85
|
85
|
server.isupport.Add("CASEMAPPING", "ascii")
|
86
|
|
- server.isupport.Add("CHANMODES", "") //TODO(dan): Channel mode list here
|
87
|
|
- server.isupport.Add("CHANNELLEN", "") //TODO(dan): Support channel length
|
|
86
|
+ // server.isupport.Add("CHANMODES", "") //TODO(dan): Channel mode list here
|
|
87
|
+ // server.isupport.Add("CHANNELLEN", "") //TODO(dan): Support channel length
|
88
|
88
|
server.isupport.Add("CHANTYPES", "#")
|
89
|
89
|
server.isupport.Add("EXCEPTS", "")
|
90
|
90
|
server.isupport.Add("INVEX", "")
|
91
|
|
- server.isupport.Add("KICKLEN", "") //TODO(dan): Support kick length?
|
92
|
|
- server.isupport.Add("MAXLIST", "") //TODO(dan): Support max list length?
|
93
|
|
- server.isupport.Add("MODES", "") //TODO(dan): Support max modes?
|
|
91
|
+ // server.isupport.Add("KICKLEN", "") //TODO(dan): Support kick length?
|
|
92
|
+ // server.isupport.Add("MAXLIST", "") //TODO(dan): Support max list length?
|
|
93
|
+ // server.isupport.Add("MODES", "") //TODO(dan): Support max modes?
|
94
|
94
|
server.isupport.Add("NETWORK", config.Network.Name)
|
95
|
|
- server.isupport.Add("NICKLEN", "") //TODO(dan): Support nick length
|
|
95
|
+ // server.isupport.Add("NICKLEN", "") //TODO(dan): Support nick length
|
96
|
96
|
server.isupport.Add("PREFIX", "(ov)@+")
|
97
|
97
|
// server.isupport.Add("STATUSMSG", "@+") //TODO(dan): Autogenerate based on PREFIXes, support STATUSMSG
|
98
|
|
- server.isupport.Add("TARGMAX", "") //TODO(dan): Support this
|
99
|
|
- server.isupport.Add("TOPICLEN", "") //TODO(dan): Support topic length
|
|
98
|
+ // server.isupport.Add("TARGMAX", "") //TODO(dan): Support this
|
|
99
|
+ // server.isupport.Add("TOPICLEN", "") //TODO(dan): Support topic length
|
100
|
100
|
server.isupport.RegenerateCachedReply()
|
101
|
101
|
|
102
|
102
|
return server
|