Initial RELAYMSG implementation

This commit is contained in:
Daniel Oaks 2020-06-08 10:19:28 +10:00
parent 2801018150
commit 4ee49f8450
9 changed files with 91 additions and 1 deletions

View file

@ -1068,6 +1068,9 @@ func LoadConfig(filename string) (config *Config, err error) {
}
config.Server.capValues[caps.Languages] = config.languageManager.CapValue()
// intentionally not configurable
config.Server.capValues[caps.Relaymsg] = "/"
config.Debug.recoverFromErrors = utils.BoolDefaultTrue(config.Debug.RecoverFromErrors)
// process operator definitions, store them to config.operators