Route feed-tracking debug to the /mth err window

This commit is contained in:
DuvelCorp
2026-09-17 10:40:38 +02:00
parent 05cfce240b
commit 1680c6fc51
+2 -2
View File
@@ -30,8 +30,8 @@ MTH_FEED_TRACE = false
local function MTH_FEED_Trace(message)
if not MTH_FEED_TRACE then return end
if type(DEFAULT_CHAT_FRAME) == "table" and DEFAULT_CHAT_FRAME.AddMessage then
DEFAULT_CHAT_FRAME:AddMessage("|cff88aaff[MTH-FeedTrack]|r " .. tostring(message))
if MTH_DebugFrame and type(MTH_DebugFrame.AddInfo) == "function" then
MTH_DebugFrame:AddInfo("[MTH-FeedTrack] " .. tostring(message))
end
end