mirror of
https://github.com/jeremyd/ergo.git
synced 2026-06-18 02:19:44 -07:00
server: Fix the PROXY command
This commit is contained in:
@@ -1260,6 +1260,9 @@ func (server *Server) applyConfig(config *Config, initial bool) error {
|
||||
server.password = nil
|
||||
}
|
||||
|
||||
// apply new PROXY command restrictions
|
||||
server.proxyAllowedFrom = config.Server.ProxyAllowedFrom
|
||||
|
||||
// apply new connectionlimits
|
||||
server.connectionLimitsMutex.Lock()
|
||||
server.connectionLimits = connectionLimits
|
||||
|
||||
Reference in New Issue
Block a user