mirror of
https://github.com/ergochat/ergo.git
synced 2026-03-02 13:28:08 +01:00
support draft/ACCOUNTREQUIRED in 005 (#2341)
https://github.com/ircv3/ircv3-specifications/pull/585
This commit is contained in:
parent
76e8e61705
commit
2e6fd75525
@ -1846,6 +1846,10 @@ func (config *Config) generateISupport() (err error) {
|
||||
}
|
||||
isupport.Add("WHOX", "")
|
||||
|
||||
if config.Accounts.RequireSasl.Enabled {
|
||||
isupport.Add("draft/ACCOUNTREQUIRED", "")
|
||||
}
|
||||
|
||||
for key, value := range config.Server.AdditionalISupport {
|
||||
if !isupport.Contains(key) {
|
||||
isupport.Add(key, value)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user