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