mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-10 22:19:31 +01:00
server: Fix the PROXY command
This commit is contained in:
parent
3f4bf38bee
commit
8b1f722655
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user