diff --git a/server/chat-plugins/helptickets.ts b/server/chat-plugins/helptickets.ts index b93231917f..2b905b83dc 100644 --- a/server/chat-plugins/helptickets.ts +++ b/server/chat-plugins/helptickets.ts @@ -834,9 +834,9 @@ export const textTickets: {[k: string]: TextTicketInfo} = { // there is no reason this should happen (room && room.type check above in .filter). // but typescript is stupid. so appeasement. if (!room) return ''; - const log = room.log.log.filter(l => l.startsWith('|c')); + const log = room.log.log.filter(l => l.startsWith('|c|')); if (!log?.length) return ''; - let innerBuf = `
${room.title}
`; + let innerBuf = `
${room.title}
`; for (const line of log) { const [,, username, message] = Utils.splitFirst(line, '|', 3); innerBuf += Utils.html`
${username}: ${message}
`;