gate traceMsg on flag test

This commit is contained in:
Derek Collison
2012-11-15 11:17:38 -08:00
parent 26a325bf43
commit f2db136e58

View File

@@ -266,7 +266,9 @@ func (sub *subscription) deliverMsg(mh, msg []byte) {
func (c *client) processMsg(msg []byte) {
c.nm++
c.traceMsg(msg)
if trace {
c.traceMsg(msg)
}
if c.srv == nil {
return
}