fix live connection crash

This commit is contained in:
Josh Baker 2016-05-24 09:19:13 -07:00
parent bac8370b6e
commit 2214cbabbe

View File

@ -121,6 +121,9 @@ func (c *Controller) goLive(inerr error, conn net.Conn, rd *server.AnyReaderWrit
} }
return return
} }
if v == nil {
continue
}
switch v.Command { switch v.Command {
default: default:
log.Error("received a live command that was not QUIT") log.Error("received a live command that was not QUIT")