mirror of
https://github.com/jeremyd/ergo.git
synced 2026-06-21 19:51:03 -07:00
review fixes, bug fixes
This commit is contained in:
+2
-2
@@ -858,8 +858,8 @@ func (server *Server) applyConfig(config *Config, initial bool) error {
|
||||
server.accounts.buildNickToAccountIndex()
|
||||
}
|
||||
|
||||
hsPreviouslyDisabled := oldAccountConfig != nil && !oldAccountConfig.HostServ.Enabled
|
||||
hsNowEnabled := config.Accounts.HostServ.Enabled
|
||||
hsPreviouslyDisabled := oldAccountConfig != nil && !oldAccountConfig.VHosts.Enabled
|
||||
hsNowEnabled := config.Accounts.VHosts.Enabled
|
||||
if hsPreviouslyDisabled && hsNowEnabled {
|
||||
server.accounts.initVHostRequestQueue()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user