summaryrefslogtreecommitdiff
path: root/server.go
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-06-06 18:41:53 +0300
committerWolfy-J <[email protected]>2018-06-06 18:41:53 +0300
commit7c591f79fa097c9fe0557021214d8fd20b825cc4 (patch)
tree6e9b707eaba1cf4cd75fbd209a37d43411b8f67d /server.go
parentbec26268144a4186a75e7a195ddb8e1dad5fb1d7 (diff)
dead functions
Diffstat (limited to 'server.go')
-rw-r--r--server.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/server.go b/server.go
index d52c0b54..52cc7349 100644
--- a/server.go
+++ b/server.go
@@ -60,6 +60,7 @@ func (srv *Server) Reconfigure(cfg *ServerConfig) error {
srv.mu.Lock()
if !srv.started {
srv.cfg = cfg
+ srv.mu.Unlock()
return nil
}
srv.mu.Unlock()