diff options
Diffstat (limited to 'git_hooks_handle_other.go')
-rw-r--r-- | git_hooks_handle_other.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git_hooks_handle_other.go b/git_hooks_handle_other.go index d4ee43a..02236c7 100644 --- a/git_hooks_handle_other.go +++ b/git_hooks_handle_other.go @@ -54,7 +54,7 @@ func hooksHandler(conn net.Conn) { { var ok bool - packPass, ok = packPasses.Load(string(cookie)) + packPass, ok = packPasses.Load(bytesToString(cookie)) if !ok { if _, err = conn.Write([]byte{1}); err != nil { return |