Fix copy-paste issue

This commit is contained in:
Cohee 2023-08-07 02:20:53 +03:00
parent 23a57e86a7
commit e0d6430ade
1 changed files with 1 additions and 1 deletions

View File

@ -3813,7 +3813,7 @@ function cleanUpMessage(getMessage, isImpersonate, isContinue, displayIncomplete
} }
if (!power_user.allow_name2_display) { if (!power_user.allow_name2_display) {
mes = mes.replace(new RegExp(`(^|\n)${name2}:`, 'g'), "$1"); getMessage = getMessage.replace(new RegExp(`(^|\n)${name2}:`, 'g'), "$1");
} }
if (isImpersonate) { if (isImpersonate) {