From b46b1eb5e72463e12dd5827dfefd792e436ad64b Mon Sep 17 00:00:00 2001 From: RaidMax Date: Wed, 23 Mar 2022 08:22:23 -0500 Subject: [PATCH] fix update on report to penalize flagged users --- Plugins/ScriptPlugins/ActionOnReport.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugins/ScriptPlugins/ActionOnReport.js b/Plugins/ScriptPlugins/ActionOnReport.js index bcecae4d3..a26452af7 100644 --- a/Plugins/ScriptPlugins/ActionOnReport.js +++ b/Plugins/ScriptPlugins/ActionOnReport.js @@ -14,7 +14,7 @@ let plugin = { } if (gameEvent.Type === this.eventTypes['report']) { - if (!gameEvent.Target.IsIngame || gameEvent.Target.Level !== 'User') { + if (!gameEvent.Target.IsIngame || (gameEvent.Target.Level !== 'User' && gameEvent.Target.Level !== 'Flagged')) { server.Logger.WriteInfo(`Ignoring report for client (id) ${gameEvent.Target.ClientId} because they are privileged or not ingame`); return; }