more logging

This commit is contained in:
Jeremy Latt 2014-02-13 19:44:42 -08:00
parent 8902ee040d
commit 6301d2b47f
1 changed files with 6 additions and 0 deletions

View File

@ -103,7 +103,13 @@ func (c *Client) readCommands() {
}
m.SetClient(c)
if DEBUG_CLIENT {
log.Printf("%s sending %s", c, m)
}
c.server.commands <- m
if DEBUG_CLIENT {
log.Printf("%s sent %s", c, m)
}
}
c.ConnectionClosed()
}