diff options
Diffstat (limited to 'git_hooks_handle_linux.go')
-rw-r--r-- | git_hooks_handle_linux.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git_hooks_handle_linux.go b/git_hooks_handle_linux.go index fde4c7e..097f236 100644 --- a/git_hooks_handle_linux.go +++ b/git_hooks_handle_linux.go @@ -77,7 +77,7 @@ func (s *server) hooksHandler(conn net.Conn) { { var ok bool - packPass, ok = packPasses.Load(misc.BytesToString(cookie)) + packPass, ok = s.packPasses.Load(misc.BytesToString(cookie)) if !ok { if _, err = conn.Write([]byte{1}); err != nil { return |