From 44fb746783ce2d41d9f316186cc7c00616dbe130 Mon Sep 17 00:00:00 2001 From: valadaptive Date: Sat, 27 Jan 2024 15:25:44 -0500 Subject: [PATCH] Remove dead if statement --- public/script.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/public/script.js b/public/script.js index 22bd1c195..b410625b5 100644 --- a/public/script.js +++ b/public/script.js @@ -1900,9 +1900,6 @@ function addOneMessage(mes, { type = 'normal', insertAfter = null, scroll = true avatarImg = mes['force_avatar']; } - if (chat.length == 0) { - messageText = substituteParams(messageText); - } messageText = messageFormatting( messageText, mes.name,