mirror of
https://github.com/ergochat/ergo.git
synced 2025-12-20 02:00:11 -08:00
parent
3fc277e733
commit
9e25a3027a
1 changed files with 3 additions and 0 deletions
|
|
@ -1383,6 +1383,9 @@ func LoadConfig(filename string) (config *Config, err error) {
|
|||
if !config.History.Enabled {
|
||||
config.History.ChannelLength = 0
|
||||
config.History.ClientLength = 0
|
||||
config.Server.supportedCaps.Disable(caps.Chathistory)
|
||||
config.Server.supportedCaps.Disable(caps.EventPlayback)
|
||||
config.Server.supportedCaps.Disable(caps.ZNCPlayback)
|
||||
}
|
||||
|
||||
if !config.History.Enabled || !config.History.Persistent.Enabled {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue