diff --git a/web/map.js b/web/map.js index cce76d9e..5b4d53ad 100644 --- a/web/map.js +++ b/web/map.js @@ -202,7 +202,7 @@ DynMap.prototype = { var messagelist = me.messagelist = $('
') .addClass('messagelist') .appendTo(chat); - if (me.options.allowchat === 'true') { + if (me.options.allowchat === true) { var chatinput = me.chatinput = $('') .addClass('chatinput') .attr({