Zarel/Pokemon-Showdown — pull request #309 by Slayer95 (2013-08-21 01:13:48+00:00)
Title: Improve canBroadcast()

If still in cooldown, the command is not added to the room anymore, and a message is sent to the user.
If an unauthorized user attempts to broadcast, the error message is now sent to the current room rather than to Lobby.