mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-11 06:29:29 +01:00
more logging
This commit is contained in:
parent
8902ee040d
commit
6301d2b47f
@ -103,7 +103,13 @@ func (c *Client) readCommands() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
m.SetClient(c)
|
m.SetClient(c)
|
||||||
|
if DEBUG_CLIENT {
|
||||||
|
log.Printf("%s sending %s", c, m)
|
||||||
|
}
|
||||||
c.server.commands <- m
|
c.server.commands <- m
|
||||||
|
if DEBUG_CLIENT {
|
||||||
|
log.Printf("%s sent %s", c, m)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
c.ConnectionClosed()
|
c.ConnectionClosed()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user