3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-11-25 21:39:25 +01:00

server: Fix the PROXY command

This commit is contained in:
Daniel Oaks 2017-09-29 07:03:47 +10:00
parent 3f4bf38bee
commit 8b1f722655

View File

@ -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