From 4778931a5d2faaf3119c101268cf4e105aa52738 Mon Sep 17 00:00:00 2001 From: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Fri, 3 Dec 2021 16:32:58 -0600 Subject: [PATCH] Abuse-monitor: Fix chat display --- server/chat-plugins/abuse-monitor.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/chat-plugins/abuse-monitor.ts b/server/chat-plugins/abuse-monitor.ts index de7b74ff73..0b97709172 100644 --- a/server/chat-plugins/abuse-monitor.ts +++ b/server/chat-plugins/abuse-monitor.ts @@ -348,7 +348,7 @@ export const commands: Chat.ChatCommands = { checkAccess(this); if (!toID(target)) return this.parse(`/help abusemonitor`); let [rawType, rawPercent, rawScore] = target.split(','); - const type = rawType.toUpperCase().replace(/\s/g, '_');; + const type = rawType.toUpperCase().replace(/\s/g, '_'); rawScore = toID(rawScore); const types = {...ATTRIBUTES, "ALL": {}}; if (!(type in types)) { @@ -471,7 +471,7 @@ export const pages: Chat.PageTable = { continue; } buf += Utils.html`
${room.title}`; - buf += `
Chat:`; + buf += `
Chat: `; buf += `(click to see)
`; // we parse users specifically from the log so we can see it after they leave the room const users = new Set();