mirror of
https://github.com/ergochat/ergo.git
synced 2025-02-18 06:30:39 +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
|
server.password = nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// apply new PROXY command restrictions
|
||||||
|
server.proxyAllowedFrom = config.Server.ProxyAllowedFrom
|
||||||
|
|
||||||
// apply new connectionlimits
|
// apply new connectionlimits
|
||||||
server.connectionLimitsMutex.Lock()
|
server.connectionLimitsMutex.Lock()
|
||||||
server.connectionLimits = connectionLimits
|
server.connectionLimits = connectionLimits
|
||||||
|
Loading…
x
Reference in New Issue
Block a user