From dcc475c828a2adeda316175480d183678a00e72b Mon Sep 17 00:00:00 2001 From: Maximilian Mader Date: Mon, 10 Feb 2014 00:43:18 +0100 Subject: [PATCH] Fix message types being treated as strings --- template/chat.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/chat.tpl b/template/chat.tpl index 6b73530..07f64a1 100644 --- a/template/chat.tpl +++ b/template/chat.tpl @@ -53,7 +53,7 @@ reloadTime: {@CHAT_RELOADTIME}, messageURL: '{link application="chat" controller="NewMessages"}{/link}', installedCommands: [ {implode from=$commands item='command'}'{$command|encodeJS}'{/implode} ], - messageTypes: { {implode from=$messageTypes key='name' item='messageType'}'{$name|substr:5|encodeJS}': '{$messageType|encodeJS}'{/implode} } + messageTypes: { {implode from=$messageTypes key='name' item='messageType'}'{$name|substr:5|encodeJS}': {$messageType}{/implode} } }; {event name='beforeInit'}