fix live connection crash

This commit is contained in:
Josh Baker 2016-05-24 09:19:13 -07:00
parent bac8370b6e
commit 2214cbabbe
1 changed files with 3 additions and 0 deletions

View File

@ -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")