forked from External/ergo
Merge pull request #1189 from slingamn/tagmsg_storage.1
make TAGMSG storage configurable
This commit is contained in:
commit
0a6c1f7cc6
7 changed files with 74 additions and 26 deletions
|
|
@ -526,7 +526,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