From 2214cbabbe7e651e1082d6589d91dc7a49eefccb Mon Sep 17 00:00:00 2001 From: Josh Baker Date: Tue, 24 May 2016 09:19:13 -0700 Subject: [PATCH] fix live connection crash --- controller/live.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/controller/live.go b/controller/live.go index 0540c5e5..e96bb861 100644 --- a/controller/live.go +++ b/controller/live.go @@ -121,6 +121,9 @@ func (c *Controller) goLive(inerr error, conn net.Conn, rd *server.AnyReaderWrit } return } + if v == nil { + continue + } switch v.Command { default: log.Error("received a live command that was not QUIT")