mirror of
https://codeberg.org/Duvelcorp/MetaHunt.git
synced 2026-10-18 06:00:49 +00:00
Route feed-tracking debug to the /mth err window
This commit is contained in:
@@ -30,8 +30,8 @@ MTH_FEED_TRACE = false
|
|||||||
|
|
||||||
local function MTH_FEED_Trace(message)
|
local function MTH_FEED_Trace(message)
|
||||||
if not MTH_FEED_TRACE then return end
|
if not MTH_FEED_TRACE then return end
|
||||||
if type(DEFAULT_CHAT_FRAME) == "table" and DEFAULT_CHAT_FRAME.AddMessage then
|
if MTH_DebugFrame and type(MTH_DebugFrame.AddInfo) == "function" then
|
||||||
DEFAULT_CHAT_FRAME:AddMessage("|cff88aaff[MTH-FeedTrack]|r " .. tostring(message))
|
MTH_DebugFrame:AddInfo("[MTH-FeedTrack] " .. tostring(message))
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user