MinecraftForge/MinecraftForge — pull request #1580 by DysLabs (2014-12-17 00:38:22+00:00)
Title: Added ClientPlayerChatEvent

This adds a hook to EntityPlayerSP#sendChatMessage which allows mods to cancel a chat message message from being sent, modifying, or just inspecting it.

http://pastebin.com/TSrnueuQ