Fixed bug in client chat