mirror of
https://github.com/jeremyd/ergo.git
synced 2026-07-11 10:58:11 -07:00
fix the analogous issue for vhosts
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user