diff options
Diffstat (limited to 'protocol.go')
-rw-r--r-- | protocol.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/protocol.go b/protocol.go index 0a0ec37f..97d40c0c 100644 --- a/protocol.go +++ b/protocol.go @@ -16,10 +16,6 @@ type pidCommand struct { } func sendHead(rl goridge.Relay, v interface{}) error { - if v == nil { - rl.Send(nil, goridge.PayloadControl) - } - if data, ok := v.([]byte); ok { return rl.Send(data, goridge.PayloadControl|goridge.PayloadRaw) } |