mirror of
https://github.com/ergochat/ergo.git
synced 2025-12-20 02:00:11 -08:00
fix #1452
This commit is contained in:
parent
9033d97c6f
commit
dd4fd1cbb6
1 changed files with 2 additions and 0 deletions
|
|
@ -529,6 +529,8 @@ func (server *Server) applyConfig(config *Config) (err error) {
|
|||
return fmt.Errorf("Cannot change max-concurrency for scripts after launching the server, rehash aborted")
|
||||
} else if oldConfig.Server.OverrideServicesHostname != config.Server.OverrideServicesHostname {
|
||||
return fmt.Errorf("Cannot change override-services-hostname after launching the server, rehash aborted")
|
||||
} else if !oldConfig.Datastore.MySQL.Enabled && config.Datastore.MySQL.Enabled {
|
||||
return fmt.Errorf("Cannot enable MySQL after launching the server, rehash aborted")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue