forked from External/ergo
make TAGMSG storage configurable
This commit is contained in:
parent
f2d0842453
commit
bca3dd0b41
7 changed files with 74 additions and 26 deletions
|
|
@ -546,7 +546,7 @@ func (server *Server) applyConfig(config *Config) (err error) {
|
|||
server.channels.loadRegisteredChannels(config)
|
||||
}
|
||||
// resize history buffers as needed
|
||||
if oldConfig.History != config.History {
|
||||
if config.historyChangedFrom(oldConfig) {
|
||||
for _, channel := range server.channels.Channels() {
|
||||
channel.resizeHistory(config)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue