From f0675fc67955f521c7f917c0020fedf90cb854b3 Mon Sep 17 00:00:00 2001 From: Nnoggie <27819512+Nnoggie@users.noreply.github.com> Date: Thu, 16 Jul 2026 23:13:43 +0200 Subject: [PATCH 1/2] fix(comm): ignore secret chat hook values --- AceComm-3.0/ChatThrottleLib.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/AceComm-3.0/ChatThrottleLib.lua b/AceComm-3.0/ChatThrottleLib.lua index 6e89a6a..a31cf2d 100644 --- a/AceComm-3.0/ChatThrottleLib.lua +++ b/AceComm-3.0/ChatThrottleLib.lua @@ -23,7 +23,7 @@ -- LICENSE: ChatThrottleLib is released into the Public Domain -- -local CTL_VERSION = 31 +local CTL_VERSION = 32 local _G = _G @@ -279,6 +279,7 @@ end local bMyTraffic = false function ChatThrottleLib.Hook_SendChatMessage(text, chattype, language, destination, ...) + if issecretvalue and (issecretvalue(text) or issecretvalue(destination)) then return end if bMyTraffic then return end @@ -288,6 +289,7 @@ function ChatThrottleLib.Hook_SendChatMessage(text, chattype, language, destinat self.nBypass = self.nBypass + size -- just a statistic end function ChatThrottleLib.Hook_SendAddonMessage(prefix, text, chattype, destination, ...) + if issecretvalue and (issecretvalue(text) or issecretvalue(destination)) then return end if bMyTraffic then return end From 63956877d94b84f1b10d980c65719e597be55da6 Mon Sep 17 00:00:00 2001 From: Nnoggie <27819512+Nnoggie@users.noreply.github.com> Date: Wed, 22 Jul 2026 21:43:25 +0200 Subject: [PATCH 2/2] Add issecretvalue to luacheck globals --- .luacheckrc | 1 + 1 file changed, 1 insertion(+) diff --git a/.luacheckrc b/.luacheckrc index ad4daa1..020e39e 100644 --- a/.luacheckrc +++ b/.luacheckrc @@ -53,6 +53,7 @@ read_globals = { "GetTime", "hooksecurefunc", "InCombatLockdown", + "issecretvalue", "issecurevariable", "IsAltKeyDown", "IsControlKeyDown",