summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--server.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/server.go b/server.go
index f8b0d64b..48741d20 100644
--- a/server.go
+++ b/server.go
@@ -131,7 +131,7 @@ func (s *Server) Reconfigure(cfg *ServerConfig) error {
return err
}
- s.pool.Listen(s.poolListener)
+ pool.Listen(s.poolListener)
s.mu.Lock()
s.cfg.Pool, s.pool = cfg.Pool, pool