]> git.r.bdr.sh - rbdr/mobius/blobdiff - hotline/client_conn.go
Improve compatibility with Obsession client
[rbdr/mobius] / hotline / client_conn.go
index 7f7870442c6a9237b64f63dbc5ca66a359634c52..8c95aebbf2273882e57dadb1c0d09352a4bed0ed 100644 (file)
@@ -170,7 +170,7 @@ func (cc *ClientConn) NewReply(t *Transaction, fields ...Field) Transaction {
        reply := Transaction{
                Flags:     0x00,
                IsReply:   0x01,
-               Type:      t.Type,
+               Type:      []byte{0x00, 0x00},
                ID:        t.ID,
                clientID:  cc.ID,
                ErrorCode: []byte{0, 0, 0, 0},