diff --git a/irc/client.go b/irc/client.go index a3e254b1..b4ad55be 100644 --- a/irc/client.go +++ b/irc/client.go @@ -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() }