diff --git a/public/src/modules/chat.js b/public/src/modules/chat.js index 7250ba3a3d..9895b5fb5f 100644 --- a/public/src/modules/chat.js +++ b/public/src/modules/chat.js @@ -203,7 +203,7 @@ define('chat', ['taskbar', 'string', 'sounds', 'forum/chats'], function(taskbar, }); chatModal.find('button[data-action="maximize"]').on('click', function() { - ajaxify.go('chats/' + username); + ajaxify.go('chats/' + utils.slugify(username)); module.close(chatModal); });