3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-11-10 22:19:31 +01:00

more logging

This commit is contained in:
Jeremy Latt 2014-02-13 19:44:42 -08:00
parent 8902ee040d
commit 6301d2b47f

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()
}