Fixed a major bug when chatting.
Merge pull request #46 from WopsS/cpp

Fixed a major bug when chatting.