1
0
Fork 0
forked from External/ergo

move handling of RecoverFromErrors into LoadConfig

This commit is contained in:
Shivaram Lingamneni 2018-07-16 04:08:24 -04:00
parent 1383190249
commit 7154f14781
2 changed files with 7 additions and 3 deletions

View file

@ -29,9 +29,7 @@ func (server *Server) Password() []byte {
}
func (server *Server) RecoverFromErrors() bool {
// default to true if unset
rfe := server.Config().Debug.RecoverFromErrors
return rfe == nil || *rfe
return *server.Config().Debug.RecoverFromErrors
}
func (server *Server) ProxyAllowedFrom() []string {