fix the analogous issue for vhosts

This commit is contained in:
Shivaram Lingamneni
2019-12-21 20:26:40 -05:00
parent 25c4eb2996
commit 26ca016c66
2 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -664,7 +664,7 @@ func (server *Server) applyConfig(config *Config, initial bool) (err error) {
hsPreviouslyDisabled := oldConfig != nil && !oldConfig.Accounts.VHosts.Enabled
hsNowEnabled := config.Accounts.VHosts.Enabled
if hsPreviouslyDisabled && hsNowEnabled {
server.accounts.initVHostRequestQueue()
server.accounts.initVHostRequestQueue(config)
}
chanRegPreviouslyDisabled := oldConfig != nil && !oldConfig.Channels.Registration.Enabled