From 0e309173e4bb85fb79375a4bd438636755556659 Mon Sep 17 00:00:00 2001 From: "Julio A. Leyva Osorio" Date: Sat, 13 May 2023 13:54:29 -0400 Subject: [PATCH] fix(DB/Warden): New checks (Detects PQR) (#16163) * add(DB/Warden): New checks (Detects PQR) * Update warden_pqr.sql * Update ID.sql --- data/sql/updates/pending_db_world/warden_pqr.sql | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 data/sql/updates/pending_db_world/warden_pqr.sql diff --git a/data/sql/updates/pending_db_world/warden_pqr.sql b/data/sql/updates/pending_db_world/warden_pqr.sql new file mode 100644 index 000000000..a187764b1 --- /dev/null +++ b/data/sql/updates/pending_db_world/warden_pqr.sql @@ -0,0 +1,4 @@ +DELETE FROM `warden_checks` WHERE `id` IN (795,796); +INSERT INTO `warden_checks` (`id`, `type`, `data`, `str`, `address`, `length`, `result`, `comment`) VALUES +(795, 139, NULL, 'local f=DEFAULT_CHAT_FRAME for i=1,f:GetNumMessages() do if (f:GetMessageInfo(i)):find("Rotation Mode Disable") then return true end end', NULL, NULL, NULL, 'Detects PQR'), +(796, 139, NULL, 'local f=DEFAULT_CHAT_FRAME for i=1,f:GetNumMessages() do if (f:GetMessageInfo(i)):find("Rotation Mode Enable") then return true end end', NULL, NULL, NULL, 'Detects PQR');