forked from 0ad/0ad
Fix double-escape in the lobby chat.
This was SVN commit r16298.
This commit is contained in:
parent
75d295b25e
commit
6bdd912146
@ -743,7 +743,7 @@ function onTick()
|
||||
function submitChatInput()
|
||||
{
|
||||
var input = Engine.GetGUIObjectByName("chatInput");
|
||||
var text = escapeText(input.caption);
|
||||
var text = input.caption;
|
||||
if (text.length)
|
||||
{
|
||||
if (!handleSpecialCommand(text) && !isSpam(text, g_Name))
|
||||
|
Loading…
Reference in New Issue
Block a user