From 8b1f72265551d25f2c04324fb5b0fe56da7b4938 Mon Sep 17 00:00:00 2001 From: Daniel Oaks Date: Fri, 29 Sep 2017 07:03:47 +1000 Subject: [PATCH] server: Fix the PROXY command --- irc/server.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/irc/server.go b/irc/server.go index d17fe922..1f47d73f 100644 --- a/irc/server.go +++ b/irc/server.go @@ -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